From e68ceb3d2c709dcc40f7bdf7f2756dd86d5c2a77 Mon Sep 17 00:00:00 2001 From: jrblixt Date: Fri, 21 Jul 2017 16:34:45 -0600 Subject: [PATCH] Guard against WC_RSA_BLINDING in api.c unit test. --- tests/api.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/api.c b/tests/api.c index fccfd8e71..ff82db252 100644 --- a/tests/api.c +++ b/tests/api.c @@ -7505,7 +7505,7 @@ static int test_wc_RsaKeyToPublicDer (void) static int test_wc_RsaPublicEncryptDecrypt (void) { #if !defined(NO_RSA) && defined(WOLFSSL_KEY_GEN)\ - && !defined(HAVE_FIPS) + && defined(WC_RSA_BLINDING) RsaKey key; WC_RNG rng; const char* inStr = "Everyone gets Friday off."; @@ -7580,7 +7580,7 @@ static int test_wc_RsaPublicEncryptDecrypt (void) */ static int test_wc_RsaPublicEncryptDecrypt_ex (void) { -#if !defined(NO_RSA) && defined(WOLFSSL_KEY_GEN) && !defined(HAVE_FIPS)\ +#if !defined(NO_RSA) && defined(WOLFSSL_KEY_GEN) && defined(WC_RSA_BLINDING)\ && !defined(WC_NO_RSA_OAEP) && !defined(HAVE_USER_RSA) RsaKey key; WC_RNG rng;