| 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!";
|
|
|