mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +02:00
ASN template debug compile error
Variable is length instead of len.
This commit is contained in:
committed by
Daniel Pouzzner
parent
f7e1e370a0
commit
b62e8c1467
@ -1203,7 +1203,7 @@ static int GetASN_ObjectId(const byte* input, word32 idx, int length)
|
|||||||
/* OID data must be at least 3 bytes. */
|
/* OID data must be at least 3 bytes. */
|
||||||
if (length < 3) {
|
if (length < 3) {
|
||||||
#ifdef WOLFSSL_DEBUG_ASN_TEMPLATE
|
#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
|
#else
|
||||||
WOLFSSL_MSG("OID length less than 3");
|
WOLFSSL_MSG("OID length less than 3");
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user