summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/base/ssl_client_socket.cc2
-rw-r--r--net/http/http_network_layer.cc2
2 files changed, 3 insertions, 1 deletions
diff --git a/net/base/ssl_client_socket.cc b/net/base/ssl_client_socket.cc
index 3d576af..6341db1 100644
--- a/net/base/ssl_client_socket.cc
+++ b/net/base/ssl_client_socket.cc
@@ -32,6 +32,8 @@ static int MapSecurityError(SECURITY_STATUS err) {
case SEC_E_CERT_EXPIRED: // Schannel
case CERT_E_EXPIRED: // CryptoAPI
return ERR_CERT_DATE_INVALID;
+ case CRYPT_E_NO_REVOCATION_CHECK:
+ return ERR_CERT_NO_REVOCATION_MECHANISM;
case CRYPT_E_REVOKED: // Schannel and CryptoAPI
return ERR_CERT_REVOKED;
case SEC_E_CERT_UNKNOWN:
diff --git a/net/http/http_network_layer.cc b/net/http/http_network_layer.cc
index 9b2c468..8c504fc 100644
--- a/net/http/http_network_layer.cc
+++ b/net/http/http_network_layer.cc
@@ -20,7 +20,7 @@ namespace net {
#if defined(OS_WIN)
// static
-bool HttpNetworkLayer::use_winhttp_ = true;
+bool HttpNetworkLayer::use_winhttp_ = false;
#endif
// static