Commit 3d3aa9cd authored by Mark Andrews's avatar Mark Andrews
Browse files

use -r rather then -f

parent 23c73a18
......@@ -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`
......
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