only test dsa if we have a random device

This commit is contained in:
Mark Andrews
2013-09-09 11:42:58 +10:00
parent ea37fee48a
commit 23c73a1848
2 changed files with 3 additions and 0 deletions

View File

@@ -823,6 +823,7 @@ do
then
sh ../ecdsa/prereq.sh 2>/dev/null || continue;
fi
test $alg = 3 -a ! -f /dev/random -a ! -f /dev/random && continue
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`