From 497818525acbf8ae0bef49b75800301a7b0c31f2 Mon Sep 17 00:00:00 2001 From: Jacob Barthelmeh Date: Mon, 21 Oct 2019 14:54:17 -0600 Subject: [PATCH] check on keygen for make rsa key function --- tests/api.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/api.c b/tests/api.c index 4954b2f5c..814890a63 100644 --- a/tests/api.c +++ b/tests/api.c @@ -11632,8 +11632,7 @@ static int test_wc_RsaPublicKeyDecodeRaw (void) } /* END test_wc_RsaPublicKeyDecodeRaw */ -#if (!defined(NO_RSA) || !defined(HAVE_FAST_RSA)) && (defined(WOLFSSL_KEY_GEN) || \ - defined(OPENSSL_EXTRA) || defined(OPENSSL_EXTRA_X509_SMALL)) +#if (!defined(NO_RSA) || !defined(HAVE_FAST_RSA)) && defined(WOLFSSL_KEY_GEN) /* In FIPS builds, wc_MakeRsaKey() will return an error if it cannot find * a probable prime in 5*(modLen/2) attempts. In non-FIPS builds, it keeps * trying until it gets a probable prime. */