Fix a build err

This commit is contained in:
Tesfa Mael
2021-04-29 16:44:51 -07:00
parent 385e0bedaa
commit f9a9b139ed

View File

@ -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 */