From 659d6c068953446b209513bb81138db1ee445a2f Mon Sep 17 00:00:00 2001 From: Jacob Barthelmeh Date: Tue, 19 Apr 2016 17:01:39 -0600 Subject: [PATCH] update oid value for secp160r1 --- wolfcrypt/src/asn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfcrypt/src/asn.c b/wolfcrypt/src/asn.c index 517d374ca..d242a946c 100644 --- a/wolfcrypt/src/asn.c +++ b/wolfcrypt/src/asn.c @@ -727,7 +727,7 @@ static const byte hashSha512hOid[] = {96, 134, 72, 1, 101, 3, 4, 2, 3}; static const byte curve256v1Oid[] = {42, 134, 72, 206, 61, 3, 1, 7}; #endif /* HAVE_ALL_CURVES || HAVE_ECC256 */ #if defined(HAVE_ALL_CURVES) || defined(HAVE_ECC160) - static const byte curve160r1Oid[] = {43, 129, 4, 0, 2}; + static const byte curve160r1Oid[] = {43, 129, 4, 0, 8}; #endif /* HAVE_ALL_CURVES || HAVE_ECC160 */ #if defined(HAVE_ALL_CURVES) || defined(HAVE_ECC224) static const byte curve224r1Oid[] = {43, 129, 4, 0, 33};