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

Unified Diff: net/third_party/mozilla_security_manager/nsKeygenHandler.cpp

Issue 2874002: Change the Windows CertDatabase behaviour to match Mac and NSS behaviour, whe... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 10 years, 6 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/net.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/third_party/mozilla_security_manager/nsKeygenHandler.cpp
===================================================================
--- net/third_party/mozilla_security_manager/nsKeygenHandler.cpp (revision 50312)
+++ net/third_party/mozilla_security_manager/nsKeygenHandler.cpp (working copy)
@@ -50,7 +50,6 @@
#include "base/nss_util_internal.h"
#include "base/nss_util.h"
#include "base/logging.h"
-#include "net/base/keygen_handler.h"
namespace {
@@ -86,16 +85,6 @@
{ 0, }
};
-void StoreKeyLocationInCache(const SECItem& public_key_info,
- PK11SlotInfo *slot) {
- net::KeygenHandler::Cache* cache = net::KeygenHandler::Cache::GetInstance();
- net::KeygenHandler::KeyLocation key_location;
- const char* slot_name = PK11_GetSlotName(slot);
- key_location.slot_name.assign(slot_name);
- cache->Insert(std::string(reinterpret_cast<char*>(public_key_info.data),
- public_key_info.len), key_location);
-}
-
} // namespace
namespace mozilla_security_manager {
@@ -241,8 +230,6 @@
goto failure;
}
- StoreKeyLocationInCache(spkiItem, slot);
-
failure:
if (!isSuccess) {
LOG(ERROR) << "SSL Keygen failed!";
« no previous file with comments | « net/net.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698