Skip to content

Commit

Permalink
Merge pull request #7488 from SparkiDev/asn_template_debug_fix
Browse files Browse the repository at this point in the history
Asn template debug fix
  • Loading branch information
douzzer authored May 9, 2024
2 parents 2ed2da0 + b62e8c1 commit 2335eb6
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 2335eb6

Please sign in to comment.