ASN template debug compile error

Variable is length instead of len.
This commit is contained in:
Sean Parkinson
2024-04-30 21:42:09 +10:00
committed by Daniel Pouzzner
parent f7e1e370a0
commit b62e8c1467

View File

@ -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