doth: skip 'doth' test if FIPS mode when DH is broken

'doth' depends on a working DH implementation.
This commit is contained in:
Mark Andrews
2022-01-04 13:12:49 +11:00
parent 530142b2a1
commit 2e997e2248

View 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