diff --git a/bin/tests/system/doth/prereq.sh b/bin/tests/system/doth/prereq.sh index 36a8e3704b..a9b9a1494d 100644 --- a/bin/tests/system/doth/prereq.sh +++ b/bin/tests/system/doth/prereq.sh @@ -17,4 +17,10 @@ $FEATURETEST --with-libnghttp2 || { echo_i "This test requires libnghttp2 support." >&2 exit 255 } + +$FEATURETEST --have-fips-dh || { + echo_i "FIPS mode Diffie-Hellman not working - skipping doth test" + exit 255 +} + exit 0