Skip to content

Commit 5b888f8

Browse files
Fix size used by signature context struct. This matches the size used by sigCpy/sigSz when building without WOLFSSL_NO_MALLOC.
1 parent c347f75 commit 5b888f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wolfssl/wolfcrypt/asn.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1383,7 +1383,7 @@ struct SignatureCtx {
13831383
#endif
13841384
#if !defined(NO_RSA) || !defined(NO_DSA)
13851385
#ifdef WOLFSSL_NO_MALLOC
1386-
byte sigCpy[MAX_SIG_SZ];
1386+
byte sigCpy[MAX_ENCODED_SIG_SZ];
13871387
#else
13881388
byte* sigCpy;
13891389
#endif

0 commit comments

Comments
 (0)