wolfcrypt/benchmark/benchmark.c: in bench_dh(), add a missing #ifdef HAVE_PUBLIC_FFDHE around a DhParams use.

This commit is contained in:
Daniel Pouzzner
2021-08-26 10:23:55 -05:00
parent 8de8af8b43
commit cff7c5b3c0

View File

@@ -5136,7 +5136,11 @@ void bench_dh(int doAsync)
#endif
#ifdef HAVE_FFDHE_4096
else if (use_ffdhe == 4096) {
#ifdef HAVE_PUBLIC_FFDHE
params = wc_Dh_ffdhe4096_Get();
#else
paramName = WC_FFDHE_4096;
#endif
dhKeySz = 4096;
}
#endif