From 175d0c6d85f501c959d1371ab1017b95e27c528c Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Tue, 21 Dec 2021 13:34:39 +1100 Subject: [PATCH] tkey: skip TKEY system test in FIPS mode TKEY uses MD5 which is incompatible with FIPS. --- bin/tests/system/tkey/prereq.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 bin/tests/system/tkey/prereq.sh diff --git a/bin/tests/system/tkey/prereq.sh b/bin/tests/system/tkey/prereq.sh new file mode 100644 index 0000000000..fe43705a45 --- /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