mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-10 09:40:49 +02:00
ECC required for newly added unit test.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user