mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-07 02:30:50 +02:00
fixup! Refactor: Use dynamic allocation for RSA test buffers
This commit is contained in:
@@ -22928,7 +22928,9 @@ static wc_test_ret_t rsa_sig_test(RsaKey* key, word32 keyLen, int modLen, WC_RNG
|
||||
0xa6, 0x58, 0x0a, 0x33, 0x0b, 0x84, 0x5f, 0x5f
|
||||
};
|
||||
word32 inLen = (word32)XSTRLEN((char*)in);
|
||||
#if !defined(WOLFSSL_RSA_PUBLIC_ONLY) && !defined(WOLFSSL_RSA_VERIFY_ONLY)
|
||||
word32 outSz = RSA_TEST_BYTES;
|
||||
#endif
|
||||
#if !defined(WOLFSSL_NO_MALLOC)
|
||||
byte* out = NULL;
|
||||
out = (byte*)XMALLOC(RSA_TEST_BYTES, HEAP_HINT, DYNAMIC_TYPE_TMP_BUFFER);
|
||||
|
||||
Reference in New Issue
Block a user