Don't run new cert chain test if RSA is disabled (test chain contains RSA certs).

pull/1674/head
David Garske 2018-07-13 11:41:06 -07:00
parent 0ce6cbd4c4
commit 0a19dc0940
1 changed files with 1 additions and 1 deletions

View File

@ -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;