Skip to content

Commit d54e893

Browse files
committed
fips: define DH_MIN_SIZE for the FIPS PILOT build (v5.2.1 base predates it)
1 parent ecdd878 commit d54e893

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

scripts/utils-wolfssl.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,8 @@ install_wolfssl() {
259259
# So for the 'git' commands, we'll just use whatever the system comes with.
260260
if [ "$fips_check_script" = "fips-check-PILOT.sh" ]; then
261261
# PILOT script has different usage: [flavor] [keep]
262+
# v5.2.1 FIPS base predates DH_MIN_SIZE; export it for the PILOT and the XXX-fips-test rebuilds below.
263+
export CPPFLAGS="${CPPFLAGS:-} -DDH_MIN_SIZE=2048"
262264
LD_LIBRARY_PATH="" ./$fips_check_script "$fips_tag" keep >$LOG_FILE 2>&1
263265
RET_CODE=$?
264266
else

0 commit comments

Comments
 (0)