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

Unified Diff: net/http/des.cc

Issue 11186004: Use the NSS internal key slot for all temporary key operations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove unused slot Created 8 years, 2 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 | « crypto/symmetric_key_nss.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/des.cc
diff --git a/net/http/des.cc b/net/http/des.cc
index e9d638824a4215985804a37258ffeb2ba212f8bc..79240cff72a6f2f0897879743fa774040e5483f2 100644
--- a/net/http/des.cc
+++ b/net/http/des.cc
@@ -114,7 +114,7 @@ void DESEncrypt(const uint8* key, const uint8* src, uint8* hash) {
crypto::EnsureNSSInit();
- slot = PK11_GetBestSlot(cipher_mech, NULL);
+ slot = PK11_GetInternalSlot();
if (!slot)
goto done;
« no previous file with comments | « crypto/symmetric_key_nss.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698