From cb985dcfa85f4713c1d13879c84f187007458bbc Mon Sep 17 00:00:00 2001 From: Kareem Date: Thu, 10 Jul 2025 10:28:12 -0700 Subject: [PATCH] ECC required for newly added unit test. --- tests/api.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/api.c b/tests/api.c index 600b326d4f..fd7ef4fdda 100644 --- a/tests/api.c +++ b/tests/api.c @@ -20363,6 +20363,7 @@ static int test_wolfSSL_X509_STORE_CTX_ex11(X509_STORE_test_data *testData) return EXPECT_RESULT(); } +#ifdef HAVE_ECC static int test_wolfSSL_X509_STORE_CTX_ex12(void) { EXPECT_DECLS; @@ -20401,6 +20402,7 @@ static int test_wolfSSL_X509_STORE_CTX_ex12(void) return EXPECT_RESULT(); } #endif +#endif static int test_wolfSSL_X509_STORE_CTX_ex(void) { @@ -20439,7 +20441,9 @@ static int test_wolfSSL_X509_STORE_CTX_ex(void) ExpectIntEQ(test_wolfSSL_X509_STORE_CTX_ex9(&testData), 1); ExpectIntEQ(test_wolfSSL_X509_STORE_CTX_ex10(&testData), 1); ExpectIntEQ(test_wolfSSL_X509_STORE_CTX_ex11(&testData), 1); +#ifdef HAVE_ECC ExpectIntEQ(test_wolfSSL_X509_STORE_CTX_ex12(), 1); +#endif if(testData.x509Ca) { X509_free(testData.x509Ca);