From af0514704fea56636733a0a945c29251ccc7e965 Mon Sep 17 00:00:00 2001 From: Jacob Barthelmeh Date: Tue, 1 Aug 2017 11:46:49 -0600 Subject: [PATCH] place macro guard on test of RSA-OAEP with SHA1 dependency --- tests/api.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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.";