diff options
author | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-05 23:02:10 +0000 |
---|---|---|
committer | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-05 23:02:10 +0000 |
commit | 0dfee7c217bcefb0cf322a6f87b8a9f866637e2f (patch) | |
tree | 85361c81826419d97f224bd17ef58dbbda612e6f /net/base/cert_verify_result.h | |
parent | 4a4d43b3b71d7dbadd2c9b2f1ef413666c43c006 (diff) | |
download | chromium_src-0dfee7c217bcefb0cf322a6f87b8a9f866637e2f.zip chromium_src-0dfee7c217bcefb0cf322a6f87b8a9f866637e2f.tar.gz chromium_src-0dfee7c217bcefb0cf322a6f87b8a9f866637e2f.tar.bz2 |
Add X509Certificate::Verify stubs for Mac and Linux.
They do nothing but return ERR_NOT_IMPLEMENTED.
In SSLClientSocketWin, call
X509Certificate::CreateFromHandle only once and store
the result in the server_cert_ member.
Add the CertVerifyResult::Reset method to clear all
members.
R=eroman
BUG=3592
Review URL: http://codereview.chromium.org/21071
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9272 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/cert_verify_result.h')
-rw-r--r-- | net/base/cert_verify_result.h | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/net/base/cert_verify_result.h b/net/base/cert_verify_result.h index 825ce4c..5169e4f 100644 --- a/net/base/cert_verify_result.h +++ b/net/base/cert_verify_result.h @@ -7,12 +7,19 @@ namespace net { -// The result of certificate verification. +// The result of certificate verification. Eventually this may contain the +// certificate chain that was constructed during certificate verification. class CertVerifyResult { public: - CertVerifyResult() - : cert_status(0), has_md5(false), has_md2(false), has_md4(false), - has_md5_ca(false), has_md2_ca(false) { + CertVerifyResult() { Reset(); } + + void Reset() { + cert_status = 0; + has_md5 = false; + has_md2 = false; + has_md4 = false; + has_md5_ca = false; + has_md2_ca = false; } int cert_status; |