summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornelson%bolyard.com <devnull@localhost>2006-05-19 04:01:30 +0000
committernelson%bolyard.com <devnull@localhost>2006-05-19 04:01:30 +0000
commite35d88d010b52dcc37436d6c15e4465307516523 (patch)
tree80a5a2eacbeceaec522cd6c3bdf9fd2917208647
parent9349d662ca16bdf2cff2ce2f000746679e45b2ef (diff)
downloadnss-hg-e35d88d010b52dcc37436d6c15e4465307516523.tar.gz
Promote the use of curve secp192r1 for client auth, since it is fasterNSS_3_11_20060520_TAGDOM_AGNOSTIC3_BASE2
than most. Bug 332350. r=rrelyea.
-rw-r--r--security/nss/lib/ssl/ssl3ecc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/nss/lib/ssl/ssl3ecc.c b/security/nss/lib/ssl/ssl3ecc.c
index 1195189cb..e74ef41ea 100644
--- a/security/nss/lib/ssl/ssl3ecc.c
+++ b/security/nss/lib/ssl/ssl3ecc.c
@@ -192,6 +192,7 @@ typedef struct Bits2CurveStr {
} Bits2Curve;
static const Bits2Curve bits2curve [] = {
+ { 192, ec_secp192r1 /* = 19, fast */ },
{ 160, ec_secp160r2 /* = 17, fast */ },
{ 160, ec_secp160k1 /* = 15, */ },
{ 160, ec_secp160r1 /* = 16, */ },
@@ -199,7 +200,6 @@ static const Bits2Curve bits2curve [] = {
{ 163, ec_sect163r1 /* = 2, */ },
{ 163, ec_sect163r2 /* = 3, */ },
{ 192, ec_secp192k1 /* = 18, */ },
- { 192, ec_secp192r1 /* = 19, */ },
{ 193, ec_sect193r1 /* = 4, */ },
{ 193, ec_sect193r2 /* = 5, */ },
{ 224, ec_secp224r1 /* = 21, fast */ },