Skip to content

Commit b62e8c1

Browse files
SparkiDevdouzzer
authored andcommitted
ASN template debug compile error
Variable is length instead of len.
1 parent f7e1e37 commit b62e8c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wolfcrypt/src/asn.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1203,7 +1203,7 @@ static int GetASN_ObjectId(const byte* input, word32 idx, int length)
12031203
/* OID data must be at least 3 bytes. */
12041204
if (length < 3) {
12051205
#ifdef WOLFSSL_DEBUG_ASN_TEMPLATE
1206-
WOLFSSL_MSG_VSNPRINTF("OID length must be 3 or more: %d", len);
1206+
WOLFSSL_MSG_VSNPRINTF("OID length must be 3 or more: %d", length);
12071207
#else
12081208
WOLFSSL_MSG("OID length less than 3");
12091209
#endif

0 commit comments

Comments
 (0)