Check USB device path access when prompting users to select a device.
[chromium-blink-merge.git] / net / third_party / nss / patches / suitebonly.patch
blob9776d7d485423dbcfa3b9c1584d796865424f3dc
1 diff --git a/ssl/ssl3ecc.c b/ssl/ssl3ecc.c
2 index 555c89d..0f805ec 100644
3 --- a/ssl/ssl3ecc.c
4 +++ b/ssl/ssl3ecc.c
5 @@ -1089,6 +1089,7 @@ static const PRUint8 ecPtFmt[6] = {
6 static PRBool
7 ssl3_SuiteBOnly(sslSocket *ss)
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 @@ -1102,6 +1103,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
22 /* Send our "canned" (precompiled) Supported Elliptic Curves extension,