mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 19:24:42 +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)) {
|
(bench_asym_algs & BENCH_ECC_ENCRYPT)) {
|
||||||
|
|
||||||
if (bench_asym_algs & BENCH_ECC_ALL) {
|
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");
|
printf("not supported in FIPS mode (no ending enum value)\n");
|
||||||
#else
|
#else
|
||||||
int curveId = (int)ECC_SECP192R1;
|
int curveId = (int)ECC_SECP192R1;
|
||||||
|
Reference in New Issue
Block a user