update FFDHE4096 test with the updated usage

This commit is contained in:
John Safranek
2021-06-10 15:35:27 -07:00
committed by Daniel Pouzzner
parent c31ed64eb5
commit b615309a7b

View File

@ -16844,9 +16844,13 @@ WOLFSSL_TEST_SUBROUTINE int dh_test(void)
ERROR_OUT(-8127, done);
#endif
#ifdef HAVE_FFDHE_4096
#ifdef HAVE_PUBLIC_FFDHE
ret = dh_ffdhe_test(&rng, wc_Dh_ffdhe4096_Get());
if (ret != 0)
ERROR_OUT(-8128, done);
#else
ret = dh_ffdhe_test(&rng, WC_FFDHE_4096);
#endif
#endif
#endif /* !WC_NO_RNG */
#endif /* HAVE_FIPS_VERSION == 2 && !WOLFSSL_SP_ARM64_ASM */