Skip to content

Commit

Permalink
ASN template debug compile error
Browse files Browse the repository at this point in the history
Variable is length instead of len.
  • Loading branch information
SparkiDev authored and douzzer committed May 9, 2024
1 parent f7e1e37 commit b62e8c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wolfcrypt/src/asn.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b62e8c1

Please sign in to comment.