mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 11:44:38 +02:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user