guard on test case for ecc curves

This commit is contained in:
Jacob Barthelmeh
2022-04-25 09:01:24 -06:00
parent 8ea953f8c0
commit cd2c7e1438

View File

@ -26372,7 +26372,7 @@ static int test_wc_EccPrivateKeyToDer (void)
if (ret == 0) { if (ret == 0) {
ret = wc_EccPrivateKeyToDer(&eccKey, output, inLen); ret = wc_EccPrivateKeyToDer(&eccKey, output, inLen);
if (ret > 0) { if (ret > 0) {
#ifdef OPENSSL_EXTRA #if defined(OPENSSL_EXTRA) && defined(HAVE_ALL_CURVES)
/* test importing private only into a PKEY struct */ /* test importing private only into a PKEY struct */
EC_KEY* ec; EC_KEY* ec;
EVP_PKEY* pkey; EVP_PKEY* pkey;