diff options
author | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-24 03:39:31 +0000 |
---|---|---|
committer | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-24 03:39:31 +0000 |
commit | b8fee1517e3886924627bc66f29081c5711f2029 (patch) | |
tree | ab41f78fbaa5f2212b16844556c305318b3c0ac0 /net/socket/ssl_client_socket_nss.h | |
parent | e2b2d4ae919f7df1ca65eaace83e4d6cf5084e47 (diff) | |
download | chromium_src-b8fee1517e3886924627bc66f29081c5711f2029.zip chromium_src-b8fee1517e3886924627bc66f29081c5711f2029.tar.gz chromium_src-b8fee1517e3886924627bc66f29081c5711f2029.tar.bz2 |
Look up client certificates in ClientAuthHandler to get rid of manual CA
names list copy.
Patch by Jaime Soriano <jsorianopastor@gmail.com>.
Original review URL: http://codereview.chromium.org/302004
R=wtc
BUG=16830
TEST=Try to connect to a web page that requires SSL authentication and
confirm that it connects if and only if a valid certificate is stored in
.pki/nssdb database.
Review URL: http://codereview.chromium.org/329015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29994 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket/ssl_client_socket_nss.h')
-rw-r--r-- | net/socket/ssl_client_socket_nss.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/socket/ssl_client_socket_nss.h b/net/socket/ssl_client_socket_nss.h index 73e63d0..5fd04c6 100644 --- a/net/socket/ssl_client_socket_nss.h +++ b/net/socket/ssl_client_socket_nss.h @@ -15,6 +15,7 @@ #include <nss.h> #include <string> +#include <vector> #include "base/scoped_ptr.h" #include "net/base/cert_verify_result.h" @@ -126,7 +127,7 @@ class SSLClientSocketNSS : public SSLClientSocket { // Stores client authentication information between ClientAuthHandler and // GetSSLCertRequestInfo calls. - CERTDistNames* client_auth_ca_names_; + std::vector<scoped_refptr<X509Certificate> > client_certs_; bool client_auth_cert_needed_; scoped_ptr<CertVerifier> verifier_; |