mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 02:37:28 +02:00
guard -ecc-all with HAVE_SELFTEST macro
This commit is contained in:
@ -1826,7 +1826,7 @@ static void* benchmarks_do(void* args)
|
||||
(bench_asym_algs & BENCH_ECC_ENCRYPT)) {
|
||||
|
||||
if (bench_asym_algs & BENCH_ECC_ALL) {
|
||||
#ifdef HAVE_FIPS
|
||||
#if defined(HAVE_FIPS) || defined(HAVE_SELFTEST)
|
||||
printf("not supported in FIPS mode (no ending enum value)\n");
|
||||
#else
|
||||
int curveId = (int)ECC_SECP192R1;
|
||||
|
Reference in New Issue
Block a user