From 2e997e22486ea1e00ddf42853c25cdc7a8bc3883 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Tue, 4 Jan 2022 13:12:49 +1100 Subject: [PATCH] doth: skip 'doth' test if FIPS mode when DH is broken 'doth' depends on a working DH implementation. --- bin/tests/system/doth/prereq.sh | 6 ++++++ 1 file changed, 6 insertions(+) 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