]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
tkey: skip TKEY system test in FIPS mode
authorMark Andrews <marka@isc.org>
Tue, 21 Dec 2021 02:34:39 +0000 (13:34 +1100)
committerMark Andrews <marka@isc.org>
Mon, 3 Apr 2023 02:44:27 +0000 (12:44 +1000)
TKEY uses MD5 which is incompatible with FIPS.

bin/tests/system/tkey/prereq.sh [new file with mode: 0644]

diff --git a/bin/tests/system/tkey/prereq.sh b/bin/tests/system/tkey/prereq.sh
new file mode 100644 (file)
index 0000000..fe43705
--- /dev/null
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
+#
+# SPDX-License-Identifier: MPL-2.0
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0.  If a copy of the MPL was not distributed with this
+# file, you can obtain one at https://mozilla.org/MPL/2.0/.
+#
+# See the COPYRIGHT file distributed with this work for additional
+# information regarding copyright ownership.
+
+. ../conf.sh
+
+$FEATURETEST --have-fips-mode && {
+       echo_i "TKEY is not compatible with FIPS mode." >&2
+       exit 255
+}
+exit 0