Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(376)

Unified Diff: net/base/keygen_handler_nss.cc

Issue 1730001: Enable Chrome OS to load the user's nssdb later. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chromeos/login/login_utils.cc ('k') | net/base/keygen_handler_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « chrome/browser/chromeos/login/login_utils.cc ('k') | net/base/keygen_handler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698