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

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

Issue 1844813002: Uprev NSS to 3.23 on iOS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: One more GN fix Created 4 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 unified diff | Download patch
OLDNEW
(Empty)
1 diff --git a/lib/ssl/ssl3ecc.c b/lib/ssl/ssl3ecc.c
2 index 94008a0..6d89bbe 100644
3 --- a/lib/ssl/ssl3ecc.c
4 +++ b/lib/ssl/ssl3ecc.c
5 @@ -1093,6 +1093,7 @@ static const PRUint8 ecPtFmt[6] = {
6 static PRBool
7 ssl3_SuiteBOnly(sslSocket *ss)
8 {
9 +#if 0
10 /* See if we can support small curves (like 163). If not, assume we can
11 * only support Suite-B curves (P-256, P-384, P-521). */
12 PK11SlotInfo *slot =
13 @@ -1106,6 +1107,9 @@ ssl3_SuiteBOnly(sslSocket *ss)
14 /* we can, presume we can do all curves */
15 PK11_FreeSlot(slot);
16 return PR_FALSE;
17 +#else
18 + return PR_TRUE;
19 +#endif
20 }
21
22 /* Send our "canned" (precompiled) Supported Elliptic Curves extension,
OLDNEW
« no previous file with comments | « net/third_party/nss/patches/signedcertificatetimestamps.patch ('k') | net/third_party/nss/patches/tls12chromium.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698