From f9a9b139ede32585e4aa9c7038b6eeee22ae5407 Mon Sep 17 00:00:00 2001 From: Tesfa Mael Date: Thu, 29 Apr 2021 16:44:51 -0700 Subject: [PATCH] Fix a build err --- wolfcrypt/test/test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */