Commit 7e07d05a authored by Ondřej Surý's avatar Ondřej Surý
Browse files

Replace RSAMD5 keys with keys using DEFAULT_ALGORITHM variable from conf.sh

parent 211d83b0
......@@ -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
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment