From 6b4e80198d3022a7a545156a53edc166f845695a Mon Sep 17 00:00:00 2001 From: "wtc@google.com" Date: Tue, 21 Oct 2008 20:43:26 +0000 Subject: 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 --- net/base/ssl_client_socket_win.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'net') 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; -- cgit v1.1