Index: net/socket/ssl_client_socket_nss.cc |
=================================================================== |
--- net/socket/ssl_client_socket_nss.cc (revision 113498) |
+++ net/socket/ssl_client_socket_nss.cc (working copy) |
@@ -482,9 +482,8 @@ |
// static |
void SSLClientSocketNSS::ClearSessionCache() { |
- // Initialize the NSS SSL library in a threadsafe way. This also |
- // initializes the NSS base library. |
- EnsureNSSSSLInit(); |
+ // SSL_ClearSessionCache can't be called before NSS is initialized. Don't |
+ // bother initializing NSS just to clear an empty SSL session cache. |
if (!NSS_IsInitialized()) |
return; |