From e0a9b365ccf480c8c0afac804547108ee082fa2c Mon Sep 17 00:00:00 2001 From: Jacob Barthelmeh Date: Tue, 19 Apr 2016 13:17:32 -0600 Subject: [PATCH] fix NID name in openssl compatibility --- wolfcrypt/src/ecc.c | 2 +- wolfssl/openssl/ec.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wolfcrypt/src/ecc.c b/wolfcrypt/src/ecc.c index f7b572af3..f3a47793b 100644 --- a/wolfcrypt/src/ecc.c +++ b/wolfcrypt/src/ecc.c @@ -122,7 +122,7 @@ const ecc_set_type ecc_sets[] = { #ifdef ECC112 { 14, - NID_secp111r1, + NID_secp112r1, "SECP112R1", "DB7C2ABF62E35E668076BEAD208B", "DB7C2ABF62E35E668076BEAD2088", diff --git a/wolfssl/openssl/ec.h b/wolfssl/openssl/ec.h index 2354ada3c..619f704f0 100644 --- a/wolfssl/openssl/ec.h +++ b/wolfssl/openssl/ec.h @@ -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,