diff --git a/tests/api.c b/tests/api.c index 856434644..0c810ff70 100644 --- a/tests/api.c +++ b/tests/api.c @@ -7719,7 +7719,8 @@ static int test_wc_RsaPublicEncryptDecrypt_ex (void) { int ret = 0; #if !defined(NO_RSA) && defined(WOLFSSL_KEY_GEN) && !defined(HAVE_FIPS)\ - && !defined(WC_NO_RSA_OAEP) && !defined(HAVE_USER_RSA) + && !defined(WC_NO_RSA_OAEP) && !defined(HAVE_USER_RSA)\ + && !defined(NO_SHA) RsaKey key; WC_RNG rng; const char* inStr = "Everyone gets Friday off.";