Merge pull request #3997 from tmael/minor_fixes

Fix test build
This commit is contained in:
David Garske
2021-05-04 08:51:30 -07:00
committed by GitHub

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); ret = wc_ecc_export_private_only(userA, exportBuf, &x);
if (ret != 0) if (ret != 0)
ERROR_OUT(-9942, done); ERROR_OUT(-9942, done);
#else #elif defined(HAVE_ECC_KEY_EXPORT)
(void)exportBuf; (void)exportBuf;
#endif /* HAVE_ECC_KEY_EXPORT */ #endif /* HAVE_ECC_KEY_EXPORT */