diff options
author | wtc@google.com <wtc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-21 20:43:26 +0000 |
---|---|---|
committer | wtc@google.com <wtc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-21 20:43:26 +0000 |
commit | 6b4e80198d3022a7a545156a53edc166f845695a (patch) | |
tree | e9d4d4fbbfb62bf6599df1c03f5079b36cdad34c /net | |
parent | bfb2cf790e42a2850d834c424752ff8985df39e2 (diff) | |
download | chromium_src-6b4e80198d3022a7a545156a53edc166f845695a.zip chromium_src-6b4e80198d3022a7a545156a53edc166f845695a.tar.gz chromium_src-6b4e80198d3022a7a545156a53edc166f845695a.tar.bz2 |
Suppress CERT_STATUS_NO_REVOCATION_MECHANISM to be compatible
with WinHTTP, which doesn't report this error. We need this
temporary workaround because our SSL UI tests aren't expecting
this error.
R=rvargas
BUG=3004
Review URL: http://codereview.chromium.org/8022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3680 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r-- | net/base/ssl_client_socket_win.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/base/ssl_client_socket_win.cc b/net/base/ssl_client_socket_win.cc index 32d30a1..064b72f 100644 --- a/net/base/ssl_client_socket_win.cc +++ b/net/base/ssl_client_socket_win.cc @@ -1052,6 +1052,10 @@ int SSLClientSocketWin::VerifyServerCert() { } } + // TODO(wtc): Suppress CERT_STATUS_NO_REVOCATION_MECHANISM for now to be + // compatible with WinHTTP, which doesn't report this error (bug 3004). + server_cert_status_ &= ~CERT_STATUS_NO_REVOCATION_MECHANISM; + if (IsCertStatusError(server_cert_status_)) return MapCertStatusToNetError(server_cert_status_); return OK; |