mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
specify algorithm
This commit is contained in:
@@ -199,8 +199,8 @@ status=`expr $status + $ret`
|
|||||||
|
|
||||||
echo "I:checking calculation of dates for a successor key ($n)"
|
echo "I:checking calculation of dates for a successor key ($n)"
|
||||||
ret=0
|
ret=0
|
||||||
oldkey=`$KEYGEN -q -r $RANDFILE $czone`
|
oldkey=`$KEYGEN -a RSASHA1 -q -r $RANDFILE $czone`
|
||||||
newkey=`$KEYGEN -q -r $RANDFILE $czone`
|
newkey=`$KEYGEN -a RSASHA1 -q -r $RANDFILE $czone`
|
||||||
$SETTIME -A -2d -I +2d $oldkey > settime1.test$n 2>&1 || ret=1
|
$SETTIME -A -2d -I +2d $oldkey > settime1.test$n 2>&1 || ret=1
|
||||||
$SETTIME -i 1d -S $oldkey $newkey > settime2.test$n 2>&1 || ret=1
|
$SETTIME -i 1d -S $oldkey $newkey > settime2.test$n 2>&1 || ret=1
|
||||||
$SETTIME -pA $newkey | grep "1970" > /dev/null && ret=1
|
$SETTIME -pA $newkey | grep "1970" > /dev/null && ret=1
|
||||||
|
Reference in New Issue
Block a user