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

Unified Diff: nss/lib/pk11wrap/pk11obj.c

Issue 13898013: Update NSS to NSS_3_15_BETA2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/nss/
Patch Set: Update NSS versions and tag in README.chromium Created 7 years, 8 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
Index: nss/lib/pk11wrap/pk11obj.c
===================================================================
--- nss/lib/pk11wrap/pk11obj.c (revision 195639)
+++ nss/lib/pk11wrap/pk11obj.c (working copy)
@@ -685,6 +685,8 @@
if (key->u.dsa.params.prime.data[0] == 0) {
length --;
}
+ /* convert keysize to bits for slot lookup */
+ length *= 8;
}
slot = PK11_GetBestSlotWithAttributes(mech.mechanism,
CKF_VERIFY,length,wincx);

Powered by Google App Engine
This is Rietveld 408576698