diff options
author | rsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-05 04:32:59 +0000 |
---|---|---|
committer | rsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-05 04:32:59 +0000 |
commit | fe697a2f570379091050ac3dc0b3a122883c63ab (patch) | |
tree | e82971535c03f20ec15bb3c933c1c6631808ea07 /net/socket/ssl_client_socket_win.cc | |
parent | 9a7ff66bb194b612ba1a2caed8daa2897f3606bf (diff) | |
download | chromium_src-fe697a2f570379091050ac3dc0b3a122883c63ab.zip chromium_src-fe697a2f570379091050ac3dc0b3a122883c63ab.tar.gz chromium_src-fe697a2f570379091050ac3dc0b3a122883c63ab.tar.bz2 |
Do not chase AIA information when locating client certificates on Windows.
BUG=103099
Review URL: http://codereview.chromium.org/8437078
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108775 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket/ssl_client_socket_win.cc')
-rw-r--r-- | net/socket/ssl_client_socket_win.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/socket/ssl_client_socket_win.cc b/net/socket/ssl_client_socket_win.cc index 98dde95..138265a 100644 --- a/net/socket/ssl_client_socket_win.cc +++ b/net/socket/ssl_client_socket_win.cc @@ -506,12 +506,14 @@ void SSLClientSocketWin::GetSSLCertRequestInfo( find_by_issuer_para.pfnFindCallback = ClientCertFindCallback; PCCERT_CHAIN_CONTEXT chain_context = NULL; + DWORD find_flags = CERT_CHAIN_FIND_BY_ISSUER_CACHE_ONLY_FLAG | + CERT_CHAIN_FIND_BY_ISSUER_CACHE_ONLY_URL_FLAG; for (;;) { // Find a certificate chain. chain_context = CertFindChainInStore(my_cert_store, X509_ASN_ENCODING, - 0, + find_flags, CERT_CHAIN_FIND_BY_ISSUER, &find_by_issuer_para, chain_context); |