mirror of https://github.com/wolfSSL/wolfssl
add check for having ECC enabled when testing with ECC certificate
This commit is contained in:
parent
95ed1a88ed
commit
c09e55c749
|
@ -2651,7 +2651,7 @@ static void test_wolfSSL_PKCS12(void)
|
||||||
PKCS12_free(pkcs12_2);
|
PKCS12_free(pkcs12_2);
|
||||||
sk_X509_free(ca);
|
sk_X509_free(ca);
|
||||||
|
|
||||||
|
#ifdef HAVE_ECC
|
||||||
/* test order of parsing */
|
/* test order of parsing */
|
||||||
f = fopen(order, "rb");
|
f = fopen(order, "rb");
|
||||||
AssertNotNull(f);
|
AssertNotNull(f);
|
||||||
|
@ -2698,6 +2698,7 @@ static void test_wolfSSL_PKCS12(void)
|
||||||
BIO_free(bio);
|
BIO_free(bio);
|
||||||
PKCS12_free(pkcs12);
|
PKCS12_free(pkcs12);
|
||||||
sk_X509_free(ca);
|
sk_X509_free(ca);
|
||||||
|
#endif /* HAVE_ECC */
|
||||||
|
|
||||||
printf(resultFmt, passed);
|
printf(resultFmt, passed);
|
||||||
#endif /* OPENSSL_EXTRA */
|
#endif /* OPENSSL_EXTRA */
|
||||||
|
|
Loading…
Reference in New Issue