diff --git a/wolfcrypt/test/test.c b/wolfcrypt/test/test.c index 2ba6650ac..5a793dccd 100644 --- a/wolfcrypt/test/test.c +++ b/wolfcrypt/test/test.c @@ -21689,7 +21689,7 @@ static int ecc_test_curve_size(WC_RNG* rng, int keySize, int testVerifyCount, ret = wc_ecc_export_private_only(userA, exportBuf, &x); if (ret != 0) ERROR_OUT(-9942, done); -#else +#elif defined(HAVE_ECC_KEY_EXPORT) (void)exportBuf; #endif /* HAVE_ECC_KEY_EXPORT */