From d13d446c2e7435b55ce33fc8ab6b5fe1ca5868b4 Mon Sep 17 00:00:00 2001 From: Juliusz Sosinowicz Date: Thu, 19 Oct 2023 20:05:59 +0200 Subject: [PATCH] Add missing guard --- tests/api.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/api.c b/tests/api.c index 920ca9959..f88faed55 100644 --- a/tests/api.c +++ b/tests/api.c @@ -35528,7 +35528,7 @@ static int test_wolfSSL_X509_STORE_CTX(void) return EXPECT_RESULT(); } -#if defined(OPENSSL_EXTRA) +#if defined(OPENSSL_EXTRA) && !defined(NO_RSA) static int test_X509_STORE_untrusted_load_cert_to_stack(const char* filename, STACK_OF(X509)* chain) { @@ -35598,7 +35598,7 @@ static int test_X509_STORE_untrusted_certs(const char** filenames, int ret, static int test_X509_STORE_untrusted(void) { EXPECT_DECLS; -#if defined(OPENSSL_EXTRA) +#if defined(OPENSSL_EXTRA) && !defined(NO_RSA) const char* untrusted1[] = { "./certs/intermediate/ca-int2-cert.pem", NULL