Fix size used by signature context struct. This matches the size used by sigCpy/sigSz when building without WOLFSSL_NO_MALLOC.

This commit is contained in:
Kareem
2025-07-25 15:50:38 -07:00
parent c347f75b3c
commit 5b888f809f

View File

@@ -1383,7 +1383,7 @@ struct SignatureCtx {
#endif
#if !defined(NO_RSA) || !defined(NO_DSA)
#ifdef WOLFSSL_NO_MALLOC
byte sigCpy[MAX_SIG_SZ];
byte sigCpy[MAX_ENCODED_SIG_SZ];
#else
byte* sigCpy;
#endif