OLD | NEW |
1 diff --git a/ssl/ssl3ecc.c b/ssl/ssl3ecc.c | 1 diff --git a/lib/ssl/ssl3ecc.c b/lib/ssl/ssl3ecc.c |
2 index aca2b74..dac7a9e 100644 | 2 index 94008a0..6d89bbe 100644 |
3 --- a/ssl/ssl3ecc.c | 3 --- a/lib/ssl/ssl3ecc.c |
4 +++ b/ssl/ssl3ecc.c | 4 +++ b/lib/ssl/ssl3ecc.c |
5 @@ -1090,6 +1090,7 @@ static const PRUint8 ecPtFmt[6] = { | 5 @@ -1093,6 +1093,7 @@ static const PRUint8 ecPtFmt[6] = { |
6 static PRBool | 6 static PRBool |
7 ssl3_SuiteBOnly(sslSocket *ss) | 7 ssl3_SuiteBOnly(sslSocket *ss) |
8 { | 8 { |
9 +#if 0 | 9 +#if 0 |
10 /* See if we can support small curves (like 163). If not, assume we can | 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). */ | 11 * only support Suite-B curves (P-256, P-384, P-521). */ |
12 PK11SlotInfo *slot = | 12 PK11SlotInfo *slot = |
13 @@ -1103,6 +1104,9 @@ ssl3_SuiteBOnly(sslSocket *ss) | 13 @@ -1106,6 +1107,9 @@ ssl3_SuiteBOnly(sslSocket *ss) |
14 /* we can, presume we can do all curves */ | 14 /* we can, presume we can do all curves */ |
15 PK11_FreeSlot(slot); | 15 PK11_FreeSlot(slot); |
16 return PR_FALSE; | 16 return PR_FALSE; |
17 +#else | 17 +#else |
18 + return PR_TRUE; | 18 + return PR_TRUE; |
19 +#endif | 19 +#endif |
20 } | 20 } |
21 | 21 |
22 /* Send our "canned" (precompiled) Supported Elliptic Curves extension, | 22 /* Send our "canned" (precompiled) Supported Elliptic Curves extension, |
OLD | NEW |