summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ssl
diff options
context:
space:
mode:
authorsnej@chromium.org <snej@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-05 16:59:54 +0000
committersnej@chromium.org <snej@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-05 16:59:54 +0000
commit76964955a0fc995d7a0c95feaeaa17891eab2205 (patch)
tree26aca3f0ef8c93d5330f24f6136bfb6136df0bbe /chrome/browser/ssl
parent357d16ba35c2f43322af5242d36bdf220b8f6455 (diff)
downloadchromium_src-76964955a0fc995d7a0c95feaeaa17891eab2205.zip
chromium_src-76964955a0fc995d7a0c95feaeaa17891eab2205.tar.gz
chromium_src-76964955a0fc995d7a0c95feaeaa17891eab2205.tar.bz2
Thread-safety for X509Certificate's intermediate-certs list.
BUG=32553,30001 TEST=none Review URL: http://codereview.chromium.org/661223 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40742 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ssl')
-rw-r--r--chrome/browser/ssl/ssl_client_auth_handler_win.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/ssl/ssl_client_auth_handler_win.cc b/chrome/browser/ssl/ssl_client_auth_handler_win.cc
index f5cee03..8c7bc42 100644
--- a/chrome/browser/ssl/ssl_client_auth_handler_win.cc
+++ b/chrome/browser/ssl/ssl_client_auth_handler_win.cc
@@ -46,7 +46,8 @@ void SSLClientAuthHandler::DoSelectCertificate() {
if (cert_context) {
cert = net::X509Certificate::CreateFromHandle(
cert_context,
- net::X509Certificate::SOURCE_LONE_CERT_IMPORT);
+ net::X509Certificate::SOURCE_LONE_CERT_IMPORT,
+ net::X509Certificate::OSCertHandles());
}
ok = CertCloseStore(client_certs, CERT_CLOSE_STORE_CHECK_FLAG);