diff --git a/tests/api.c b/tests/api.c index 9f056cc30..36b006930 100644 --- a/tests/api.c +++ b/tests/api.c @@ -35248,7 +35248,7 @@ static int test_wolfSSL_X509_VERIFY_PARAM_set1_host(void) static int test_wolfSSL_set1_host(void) { -#if defined(OPENSSL_EXTRA) +#if defined(OPENSSL_EXTRA) && !defined(NO_RSA) #if !defined(NO_WOLFSSL_CLIENT) || !defined(NO_WOLFSSL_SERVER) const char host[] = "www.test_wolfSSL_set1_host.com"; const char emptyStr[] = "";