Commit 23c73a18 authored by Mark Andrews's avatar Mark Andrews
Browse files

only test dsa if we have a random device

parent ea37fee4
...@@ -109,6 +109,8 @@ then ...@@ -109,6 +109,8 @@ then
sh ../../ecdsa/prereq.sh 2> /dev/null || continue sh ../../ecdsa/prereq.sh 2> /dev/null || continue
fi fi
test $alg = DSA -a ! -f /dev/random -a ! -f /dev/urandom && continue
k1=`$KEYGEN -q -r $RANDFILE -a $alg -b 1024 -n zone -f KSK $zone` 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` k2=`$KEYGEN -q -r $RANDFILE -a $alg -b 1024 -n zone $zone`
k3=`$KEYGEN -q -r $RANDFILE -a $alg -b 1024 -n zone $zone` k3=`$KEYGEN -q -r $RANDFILE -a $alg -b 1024 -n zone $zone`
......
...@@ -823,6 +823,7 @@ do ...@@ -823,6 +823,7 @@ do
then then
sh ../ecdsa/prereq.sh 2>/dev/null || continue; sh ../ecdsa/prereq.sh 2>/dev/null || continue;
fi 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` 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` 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