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 7d65ea9e60d2d3cd81a35c9969ef4e4b06aff78a..024290ae53d581e6e6233fe7ff38dfe85a32dbf4 100644 |
--- a/net/socket/ssl_server_socket_nss.cc |
+++ b/net/socket/ssl_server_socket_nss.cc |
@@ -302,7 +302,7 @@ int SSLServerSocketNSS::InitializeSSLOptions() { |
} |
SECKEYPrivateKeyStr* private_key = NULL; |
- PK11SlotInfo *slot = base::GetDefaultNSSKeySlot(); |
+ PK11SlotInfo *slot = base::GetPrivateNSSKeySlot(); |
if (!slot) { |
CERT_DestroyCertificate(cert); |
return ERR_UNEXPECTED; |