From 920c97963c4532ed04aeb9892ee2f48616ac9a3b Mon Sep 17 00:00:00 2001 From: Sean Parkinson Date: Mon, 10 Aug 2020 10:57:07 +1000 Subject: [PATCH] Fix Jenikins failure - ToTraditional not declared ./configure --disable-asn --disable-ecc -disable-rsa --enable-psk --enable-testcert --- tests/api.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tests/api.c b/tests/api.c index 3795aed27..fedaf2c55 100644 --- a/tests/api.c +++ b/tests/api.c @@ -20667,8 +20667,9 @@ static int test_wc_ecc_is_valid_idx (void) static int test_ToTraditional (void) { int ret = 0; -#if defined(WOLFSSL_TEST_CERT) || defined(OPENSSL_EXTRA) || \ - defined(OPENSSL_EXTRA_X509_SMALL) +#if !defined(NO_ASN) && (defined(HAVE_PKCS8) || defined(HAVE_PKCS12)) && \ + (defined(WOLFSSL_TEST_CERT) || defined(OPENSSL_EXTRA) || \ + defined(OPENSSL_EXTRA_X509_SMALL)) XFILE f; byte input[TWOK_BUF]; @@ -20710,8 +20711,9 @@ static int test_ToTraditional (void) #endif return ret; }/* End test_ToTraditional*/ + /* - * Testing wc_Ed25519KeyToDer + * Testing wc_EccPrivateKeyToDer */ static int test_wc_EccPrivateKeyToDer (void) { @@ -20772,6 +20774,7 @@ static int test_wc_EccPrivateKeyToDer (void) #endif return ret; }/* End test_wc_EccPrivateKeyToDer*/ + /* * Testing wc_Ed25519KeyToDer */