Index: net/socket/ssl_server_socket_nss.cc |
diff --git a/net/socket/ssl_server_socket_nss.cc b/net/socket/ssl_server_socket_nss.cc |
index cfdc5c545ef894b992722d24aedb89c49aa9f0f2..3911f67644039006289cb9accba9b2e424f28fdc 100644 |
--- a/net/socket/ssl_server_socket_nss.cc |
+++ b/net/socket/ssl_server_socket_nss.cc |
@@ -446,7 +446,7 @@ int SSLServerSocketNSS::InitializeSSLOptions() { |
} |
SECKEYPrivateKeyStr* private_key = NULL; |
- PK11SlotInfo* slot = crypto::GetPrivateNSSKeySlot(); |
+ PK11SlotInfo* slot = PK11_GetInternalSlot(); |
if (!slot) { |
CERT_DestroyCertificate(cert); |
return ERR_UNEXPECTED; |