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

Side by Side Diff: net/third_party/nss/patches/suitebonly.patch

Issue 14522022: Update NSS libSSL to NSS_3_15_BETA2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Make the changes rsleevi suggested Created 7 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 diff -pu a/nss/lib/ssl/ssl3ecc.c b/nss/lib/ssl/ssl3ecc.c
2 --- a/nss/lib/ssl/ssl3ecc.c 2013-04-27 09:40:21.645984036 -0700
3 +++ b/nss/lib/ssl/ssl3ecc.c 2013-04-27 09:42:14.977586966 -0700
4 @@ -1031,6 +1031,7 @@ static const PRUint8 ECPtFmt[6] = {
5 static PRBool
6 ssl3_SuiteBOnly(sslSocket *ss)
7 {
8 +#if 0
9 /* look to see if we can handle certs less than 163 bits */
10 PK11SlotInfo *slot =
11 PK11_GetBestSlotWithAttributes(CKM_ECDH1_DERIVE, 0, 163,
12 @@ -1043,6 +1044,9 @@ ssl3_SuiteBOnly(sslSocket *ss)
13 /* we can, presume we can do all curves */
14 PK11_FreeSlot(slot);
15 return PR_FALSE;
16 +#else
17 + return PR_TRUE;
18 +#endif
19 }
20
21 /* Send our "canned" (precompiled) Supported Elliptic Curves extension,
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698