mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-22 10:10:06 +00:00
use -r rather then -f
This commit is contained in:
parent
23c73a1848
commit
3d3aa9cde6
@ -109,7 +109,7 @@ then
|
||||
sh ../../ecdsa/prereq.sh 2> /dev/null || continue
|
||||
fi
|
||||
|
||||
test $alg = DSA -a ! -f /dev/random -a ! -f /dev/urandom && continue
|
||||
test $alg = DSA -a ! -r /dev/random -a ! -r /dev/urandom && continue
|
||||
|
||||
k1=`$KEYGEN -q -r $RANDFILE -a $alg -b 1024 -n zone -f KSK $zone`
|
||||
k2=`$KEYGEN -q -r $RANDFILE -a $alg -b 1024 -n zone $zone`
|
||||
|
@ -823,7 +823,8 @@ do
|
||||
then
|
||||
sh ../ecdsa/prereq.sh 2>/dev/null || continue;
|
||||
fi
|
||||
test $alg = 3 -a ! -f /dev/random -a ! -f /dev/random && continue
|
||||
test $alg = 3 -a ! -r /dev/random -a ! -r /dev/urandom && continue
|
||||
echo "I: checking $alg"
|
||||
|
||||
dnskeys=`grep "IN.DNSKEY.25[67] [0-9]* $alg " dig.out.ns3.test$n | wc -l`
|
||||
rrsigs=`grep "RRSIG.DNSKEY $alg " dig.out.ns3.test$n | wc -l`
|
||||
|
Loading…
x
Reference in New Issue
Block a user