Index: net/socket/ssl_client_socket_nss.cc |
diff --git a/net/socket/ssl_client_socket_nss.cc b/net/socket/ssl_client_socket_nss.cc |
index 161184b10fff3d8206b7b79353d2d916b92c57f7..483c5e78cc319ca1b36bfa834f5805302745f947 100644 |
--- a/net/socket/ssl_client_socket_nss.cc |
+++ b/net/socket/ssl_client_socket_nss.cc |
@@ -2877,6 +2877,7 @@ void SSLClientSocket::ClearSessionCache() { |
// static |
uint16 SSLClientSocket::GetMaxSupportedSSLVersion() { |
+ crypto::EnsureNSSInit(); |
if (PK11_TokenExists(CKM_NSS_TLS_MASTER_KEY_DERIVE_DH_SHA256)) { |
return SSL_PROTOCOL_VERSION_TLS1_2; |
} else { |