diff --git a/wolfcrypt/test/test.c b/wolfcrypt/test/test.c index a2fd1f2ce7..755aa94358 100644 --- a/wolfcrypt/test/test.c +++ b/wolfcrypt/test/test.c @@ -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);