fix NID name in openssl compatibility

This commit is contained in:
Jacob Barthelmeh 2016-04-19 13:17:32 -06:00
parent 0dbdc8eab0
commit e0a9b365cc
2 changed files with 2 additions and 2 deletions

View File

@ -122,7 +122,7 @@ const ecc_set_type ecc_sets[] = {
#ifdef ECC112
{
14,
NID_secp111r1,
NID_secp112r1,
"SECP112R1",
"DB7C2ABF62E35E668076BEAD208B",
"DB7C2ABF62E35E668076BEAD2088",

View File

@ -13,7 +13,7 @@ extern "C" {
/* Map OpenSSL NID value */
enum {
POINT_CONVERSION_UNCOMPRESSED = 4,
NID_secp111r1 = 0,
NID_secp112r1 = 0,
NID_secp128r1 = 1,
NID_secp160r1 = 2,
NID_cert192 = 3,