From: Matt Caswell Date: Mon, 17 Nov 2014 23:09:05 +0000 (+0000) Subject: Added references to RFC 7027 X-Git-Tag: master-post-reformat~292 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bcb245a74af139400014d03d578e5f464d601005;p=oweals%2Fopenssl.git Added references to RFC 7027 Reviewed-by: Dr. Stephen Henson --- diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c index 1876b78cfa..4e0816746c 100644 --- a/ssl/t1_lib.c +++ b/ssl/t1_lib.c @@ -312,7 +312,7 @@ static const unsigned char suiteb_curves[] = int tls1_ec_curve_id2nid(int curve_id) { - /* ECC curves from RFC 4492 */ + /* ECC curves from RFC 4492 and RFC 7027 */ if ((curve_id < 1) || ((unsigned int)curve_id > sizeof(nid_list)/sizeof(nid_list[0]))) return 0; @@ -321,7 +321,7 @@ int tls1_ec_curve_id2nid(int curve_id) int tls1_ec_nid2curve_id(int nid) { - /* ECC curves from RFC 4492 */ + /* ECC curves from RFC 4492 and RFC 7027 */ switch (nid) { case NID_sect163k1: /* sect163k1 (1) */