From 9ef1d283fea54f297e35327fdfdfc62e758dd884 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Mon, 17 Nov 2014 23:07:08 +0000 Subject: [PATCH] Added RFC 7027 references Reviewed-by: Dr. Stephen Henson --- ssl/t1_lib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c index a338df9796..bbd353a188 100644 --- a/ssl/t1_lib.c +++ b/ssl/t1_lib.c @@ -357,7 +357,7 @@ static const unsigned char fips_curves_default[] = 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; @@ -366,7 +366,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) */ -- 2.40.0