]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
doth: skip 'doth' test if FIPS mode when DH is broken
authorMark Andrews <marka@isc.org>
Tue, 4 Jan 2022 02:12:49 +0000 (13:12 +1100)
committerMark Andrews <marka@isc.org>
Mon, 3 Apr 2023 02:44:27 +0000 (12:44 +1000)
'doth' depends on a working DH implementation.

bin/tests/system/doth/prereq.sh

index 36a8e3704b3e2343922c665de0743ebd74aa1326..a9b9a1494d9181dd1c859b328896cd01bcaf7866 100644 (file)
@@ -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