From b62e8c1467cf71c2bc9bcb33f5d278692c1218cf Mon Sep 17 00:00:00 2001 From: Sean Parkinson Date: Tue, 30 Apr 2024 21:42:09 +1000 Subject: [PATCH] ASN template debug compile error Variable is length instead of len. --- 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 f5c181e3ed..8779607b1a 100644 --- a/wolfcrypt/src/asn.c +++ b/wolfcrypt/src/asn.c @@ -1203,7 +1203,7 @@ static int GetASN_ObjectId(const byte* input, word32 idx, int length) /* OID data must be at least 3 bytes. */ if (length < 3) { #ifdef WOLFSSL_DEBUG_ASN_TEMPLATE - WOLFSSL_MSG_VSNPRINTF("OID length must be 3 or more: %d", len); + WOLFSSL_MSG_VSNPRINTF("OID length must be 3 or more: %d", length); #else WOLFSSL_MSG("OID length less than 3"); #endif