File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -242,8 +242,10 @@ install_wolfssl() {
242242 exit 1
243243 fi
244244 fi
245- # Change to test directory for FIPS builds
246- if [ -n " $WOLFSSL_FIPS_BUNDLE " ] || [ " $WOLFSSL_ISFIPS " = " 1" ]; then
245+ # Change to test directory for FIPS builds (only when cloning, not for bundles)
246+ # XXX-fips-test is created by fips-check.sh when cloning from GitHub.
247+ # Pre-packaged FIPS bundles don't have this directory - they ARE the source tree.
248+ if [ -z " $WOLFSSL_FIPS_BUNDLE " ] && [ " $WOLFSSL_ISFIPS " = " 1" ]; then
247249 cd XXX-fips-test
248250 fi
249251 fi
Original file line number Diff line number Diff line change @@ -280,7 +280,9 @@ TEST_CASE test_case[] = {
280280#endif
281281#ifdef WP_HAVE_DH
282282 TEST_DECL (test_dh_pgen_pkey , NULL ),
283+ #if !defined (HAVE_FIPS ) && !defined (HAVE_FIPS_VERSION )
283284 TEST_DECL (test_dh_pkey , NULL ),
285+ #endif
284286 TEST_DECL (test_dh_decode , NULL ),
285287 TEST_DECL (test_dh_krb5_keygen , NULL ),
286288#ifndef WOLFPROV_QUICKTEST
You can’t perform that action at this time.
0 commit comments