From: Mark Andrews Date: Tue, 21 Dec 2021 02:34:39 +0000 (+1100) Subject: tkey: skip TKEY system test in FIPS mode X-Git-Tag: v9.19.12~38^2~16 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=175d0c6d85f501c959d1371ab1017b95e27c528c;p=thirdparty%2Fbind9.git tkey: skip TKEY system test in FIPS mode TKEY uses MD5 which is incompatible with FIPS. --- diff --git a/bin/tests/system/tkey/prereq.sh b/bin/tests/system/tkey/prereq.sh new file mode 100644 index 00000000000..fe43705a450 --- /dev/null +++ b/bin/tests/system/tkey/prereq.sh @@ -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