From ae9926cc420c1f4a36a6a32eb3fd83637072caa8 Mon Sep 17 00:00:00 2001 From: Anthony Hu Date: Mon, 4 Apr 2022 12:39:10 -0400 Subject: [PATCH] Missing flag in unit test. --- tests/api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/api.c b/tests/api.c index 0ed8639b3..74480fe5c 100644 --- a/tests/api.c +++ b/tests/api.c @@ -30460,7 +30460,7 @@ static void test_wc_GetPubKeyDerFromCert(void) static void test_wc_CheckCertSigPubKey(void) { #if defined(OPENSSL_EXTRA) && !defined(NO_CERTS) && !defined(NO_FILESYSTEM) && \ - !defined(NO_RSA) && defined(WOLFSSL_PEM_TO_DER) + !defined(NO_RSA) && defined(WOLFSSL_PEM_TO_DER) && defined(HAVE_ECC) int ret; const char* ca_cert = "./certs/ca-cert.pem"; byte* cert_buf = NULL;