Skip to content

Commit 2335eb6

Browse files
authored
Merge pull request #7488 from SparkiDev/asn_template_debug_fix
Asn template debug fix
2 parents 2ed2da0 + b62e8c1 commit 2335eb6

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)