Index: net/base/keygen_handler_nss.cc |
=================================================================== |
--- net/base/keygen_handler_nss.cc (revision 45593) |
+++ net/base/keygen_handler_nss.cc (working copy) |
@@ -12,6 +12,7 @@ |
#include <keyhi.h> // SECKEY_CreateSubjectPublicKeyInfo() |
#include "base/base64.h" |
+#include "base/nss_util_internal.h" |
#include "base/nss_util.h" |
#include "base/logging.h" |
@@ -97,7 +98,7 @@ |
// Ensure NSS is initialized. |
base::EnsureNSSInit(); |
- slot = PK11_GetInternalKeySlot(); |
+ slot = base::GetDefaultNSSKeySlot(); |
if (!slot) { |
LOG(ERROR) << "Couldn't get Internal key slot!"; |
isSuccess = false; |