mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
Added references to RFC 7027
Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
This commit is contained in:
parent
1a14b47ed9
commit
bcb245a74a
@ -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) */
|
||||
|
Loading…
Reference in New Issue
Block a user