File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23714,7 +23714,7 @@ WOLFSSL_TEST_SUBROUTINE wc_test_ret_t dh_test(void)
2371423714 }
2371523715#endif
2371623716
23717- #if (!defined(HAVE_FIPS) || FIPS_VERSION_GE(7,0)) && \
23717+ #if !defined(WC_NO_RNG) && (!defined(HAVE_FIPS) || FIPS_VERSION_GE(7,0)) && \
2371823718 !defined(HAVE_SELFTEST)
2371923719 agreeSz = DH_TEST_BUF_SIZE;
2372023720 agreeSz2 = DH_TEST_BUF_SIZE;
@@ -23740,7 +23740,7 @@ WOLFSSL_TEST_SUBROUTINE wc_test_ret_t dh_test(void)
2374023740 if (XMEMCMP(agree, agree2, agreeSz) != 0) {
2374123741 ERROR_OUT(WC_TEST_RET_ENC_NC, done);
2374223742 }
23743- #endif /* (!HAVE_FIPS || FIPS_VERSION_GE(7,0)) && !HAVE_SELFTEST */
23743+ #endif /* !WC_NO_RNG && (!HAVE_FIPS || FIPS_VERSION_GE(7,0)) && !HAVE_SELFTEST */
2374423744
2374523745 /* Test DH key import / export */
2374623746#if defined(WOLFSSL_DH_EXTRA) && !defined(NO_FILESYSTEM) && \
You can’t perform that action at this time.
0 commit comments