| Index: net/base/keygen_handler_nss.cc
|
| ===================================================================
|
| --- net/base/keygen_handler_nss.cc (revision 49024)
|
| +++ net/base/keygen_handler_nss.cc (working copy)
|
| @@ -52,21 +52,6 @@
|
| { 0, }
|
| };
|
|
|
| -void StoreKeyLocationInCache(const SECItem& public_key_info,
|
| - PK11SlotInfo *slot) {
|
| - KeygenHandler::Cache* cache = KeygenHandler::Cache::GetInstance();
|
| - 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);
|
| -}
|
| -
|
| -bool KeygenHandler::KeyLocation::Equals(
|
| - const net::KeygenHandler::KeyLocation& location) const {
|
| - return slot_name == location.slot_name;
|
| -}
|
| -
|
| // This function is largely copied from the Firefox's
|
| // <keygen> implementation in security/manager/ssl/src/nsKeygenHandler.cpp
|
| // FIXME(gauravsh): Do we need a copy of the Mozilla license here?
|
| @@ -210,8 +195,6 @@
|
| goto failure;
|
| }
|
|
|
| - StoreKeyLocationInCache(spkiItem, slot);
|
| -
|
| failure:
|
| if (!isSuccess) {
|
| LOG(ERROR) << "SSL Keygen failed!";
|
|
|