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

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

Issue 319593003: Update to NSS 3.16.2 Beta 3. (Closed) Base URL: http://src.chromium.org/svn/trunk/deps/third_party/nss
Patch Set: Remove unused function SEC_NumberOrNameStringToOIDTag Created 6 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
Index: nss/lib/pk11wrap/pk11skey.c
diff --git a/nss/lib/pk11wrap/pk11skey.c b/nss/lib/pk11wrap/pk11skey.c
index 4e26e44acf851b19a84aca9204e70893cb8f836f..4c5b9f16aaff5d707723ee27c06fddf6a5e68f6d 100644
--- a/nss/lib/pk11wrap/pk11skey.c
+++ b/nss/lib/pk11wrap/pk11skey.c
@@ -2229,7 +2229,9 @@ PK11_PubDeriveWithKDF(SECKEYPrivateKey *privKey, SECKEYPublicKey *pubKey,
return pk11_PubDeriveECKeyWithKDF( privKey, pubKey, isSender,
randomA, randomB, derive, target, operation, keySize,
kdf, sharedData, wincx);
- default: break;
+ default:
+ PORT_SetError(SEC_ERROR_BAD_KEY);
+ break;
}
return NULL;

Powered by Google App Engine
This is Rietveld 408576698