mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-10 20:19:59 -04:00
specify algorithm
This commit is contained in:
parent
0f1fc8f421
commit
eb7c571e93
1 changed files with 2 additions and 2 deletions
|
|
@ -199,8 +199,8 @@ status=`expr $status + $ret`
|
|||
|
||||
echo "I:checking calculation of dates for a successor key ($n)"
|
||||
ret=0
|
||||
oldkey=`$KEYGEN -q -r $RANDFILE $czone`
|
||||
newkey=`$KEYGEN -q -r $RANDFILE $czone`
|
||||
oldkey=`$KEYGEN -a RSASHA1 -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 -i 1d -S $oldkey $newkey > settime2.test$n 2>&1 || ret=1
|
||||
$SETTIME -pA $newkey | grep "1970" > /dev/null && ret=1
|
||||
|
|
|
|||
Loading…
Reference in a new issue