fixup! Refactor: Use dynamic allocation for RSA test buffers

This commit is contained in:
Juliusz Sosinowicz
2026-03-31 12:42:07 +02:00
parent 8b378bcfd1
commit 9cbdf04359
+2
View File
@@ -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);