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

Unified Diff: net/cert/nss_cert_database.cc

Issue 383593002: Add GetSystemNSSKeySlot, merge GetPrivateNSSKeySlot/GetPublicNSSKeySlot to GetPersistentNSSKeySlot. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: changes for comment #5 Created 6 years, 5 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 | « net/base/keygen_handler_nss.cc ('k') | net/socket/ssl_server_socket_nss.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/nss_cert_database.cc
diff --git a/net/cert/nss_cert_database.cc b/net/cert/nss_cert_database.cc
index c1fc4f9d0cca66473b792a447aeb846fd8b15a24..56169d50714b5b926292e71a43e24934fca69fbb 100644
--- a/net/cert/nss_cert_database.cc
+++ b/net/cert/nss_cert_database.cc
@@ -110,11 +110,11 @@ void NSSCertDatabase::ListCertsInSlot(const ListCertsCallback& callback,
}
crypto::ScopedPK11Slot NSSCertDatabase::GetPublicSlot() const {
- return crypto::ScopedPK11Slot(crypto::GetPublicNSSKeySlot());
+ return crypto::ScopedPK11Slot(crypto::GetPersistentNSSKeySlot());
}
crypto::ScopedPK11Slot NSSCertDatabase::GetPrivateSlot() const {
- return crypto::ScopedPK11Slot(crypto::GetPrivateNSSKeySlot());
+ return crypto::ScopedPK11Slot(crypto::GetPersistentNSSKeySlot());
}
CryptoModule* NSSCertDatabase::GetPublicModule() const {
« no previous file with comments | « net/base/keygen_handler_nss.cc ('k') | net/socket/ssl_server_socket_nss.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698