mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-03 20:54:41 +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
|
#endif
|
||||||
#if !defined(NO_RSA) || !defined(NO_DSA)
|
#if !defined(NO_RSA) || !defined(NO_DSA)
|
||||||
#ifdef WOLFSSL_NO_MALLOC
|
#ifdef WOLFSSL_NO_MALLOC
|
||||||
byte sigCpy[MAX_SIG_SZ];
|
byte sigCpy[MAX_ENCODED_SIG_SZ];
|
||||||
#else
|
#else
|
||||||
byte* sigCpy;
|
byte* sigCpy;
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user