From 0a19dc09405e04b9d1a106bf7776bd502a86d7c5 Mon Sep 17 00:00:00 2001 From: David Garske Date: Fri, 13 Jul 2018 11:41:06 -0700 Subject: [PATCH] Don't run new cert chain test if RSA is disabled (test chain contains RSA certs). --- tests/api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/api.c b/tests/api.c index a0e354316..f1d744f75 100644 --- a/tests/api.c +++ b/tests/api.c @@ -725,7 +725,7 @@ static void test_wolfSSL_CTX_load_verify_locations(void) static int test_wolfSSL_CTX_use_certificate_chain_file_format(void) { int ret = 0; -#if !defined(NO_FILESYSTEM) && !defined(NO_CERTS) +#if !defined(NO_FILESYSTEM) && !defined(NO_CERTS) && !defined(NO_RSA) const char* server_chain_der = "./certs/server-cert-chain.der"; WOLFSSL_CTX* ctx;