From: Ondřej Surý Date: Thu, 25 Oct 2018 14:04:12 +0000 (+0200) Subject: Replace RSAMD5 keys with keys using DEFAULT_ALGORITHM variable from conf.sh X-Git-Tag: v9.13.6~109^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7e07d05ae70d327b85e0e4d6eef4c6868e5dfe78;p=thirdparty%2Fbind9.git Replace RSAMD5 keys with keys using DEFAULT_ALGORITHM variable from conf.sh --- diff --git a/bin/tests/system/sfcache/ns1/sign.sh b/bin/tests/system/sfcache/ns1/sign.sh index 2a37597cf75..fbd594f1cc6 100644 --- a/bin/tests/system/sfcache/ns1/sign.sh +++ b/bin/tests/system/sfcache/ns1/sign.sh @@ -20,7 +20,7 @@ zonefile=root.db cp ../ns2/dsset-example$TP . -keyname=`$KEYGEN -q -a RSAMD5 -b 1024 -n zone $zone` +keyname=`$KEYGEN -q -a ${DEFAULT_ALGORITHM} -b ${DEFAULT_BITS} -n zone $zone` cat $infile $keyname.key > $zonefile diff --git a/bin/tests/system/sfcache/prereq.sh b/bin/tests/system/sfcache/prereq.sh index 0b7e20cc386..e205020e0e6 100644 --- a/bin/tests/system/sfcache/prereq.sh +++ b/bin/tests/system/sfcache/prereq.sh @@ -12,7 +12,7 @@ SYSTEMTESTTOP=.. . $SYSTEMTESTTOP/conf.sh -if $KEYGEN -q -a RSAMD5 -b 1024 -n zone foo > /dev/null 2>&1 +if $KEYGEN -q -a ${DEFAULT_ALGORITHM} -b ${DEFAULT_BITS} -n zone foo > /dev/null 2>&1 then rm -f Kfoo* else