Fix Jenikins failure - ToTraditional not declared

./configure --disable-asn --disable-ecc -disable-rsa --enable-psk
--enable-testcert
This commit is contained in:
Sean Parkinson
2020-08-10 10:57:07 +10:00
parent b25eccb07e
commit 920c97963c

View File

@@ -20667,8 +20667,9 @@ static int test_wc_ecc_is_valid_idx (void)
static int test_ToTraditional (void) static int test_ToTraditional (void)
{ {
int ret = 0; int ret = 0;
#if defined(WOLFSSL_TEST_CERT) || defined(OPENSSL_EXTRA) || \ #if !defined(NO_ASN) && (defined(HAVE_PKCS8) || defined(HAVE_PKCS12)) && \
defined(OPENSSL_EXTRA_X509_SMALL) (defined(WOLFSSL_TEST_CERT) || defined(OPENSSL_EXTRA) || \
defined(OPENSSL_EXTRA_X509_SMALL))
XFILE f; XFILE f;
byte input[TWOK_BUF]; byte input[TWOK_BUF];
@@ -20710,8 +20711,9 @@ static int test_ToTraditional (void)
#endif #endif
return ret; return ret;
}/* End test_ToTraditional*/ }/* End test_ToTraditional*/
/* /*
* Testing wc_Ed25519KeyToDer * Testing wc_EccPrivateKeyToDer
*/ */
static int test_wc_EccPrivateKeyToDer (void) static int test_wc_EccPrivateKeyToDer (void)
{ {
@@ -20772,6 +20774,7 @@ static int test_wc_EccPrivateKeyToDer (void)
#endif #endif
return ret; return ret;
}/* End test_wc_EccPrivateKeyToDer*/ }/* End test_wc_EccPrivateKeyToDer*/
/* /*
* Testing wc_Ed25519KeyToDer * Testing wc_Ed25519KeyToDer
*/ */