From: Mark Andrews Date: Tue, 4 Jan 2022 02:12:49 +0000 (+1100) Subject: doth: skip 'doth' test if FIPS mode when DH is broken X-Git-Tag: v9.19.12~38^2~21 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2e997e22486ea1e00ddf42853c25cdc7a8bc3883;p=thirdparty%2Fbind9.git doth: skip 'doth' test if FIPS mode when DH is broken 'doth' depends on a working DH implementation. --- diff --git a/bin/tests/system/doth/prereq.sh b/bin/tests/system/doth/prereq.sh index 36a8e3704b3..a9b9a1494d9 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