Commit 8d1b3f5e authored by Mark Andrews's avatar Mark Andrews
Browse files

dns_dnssec_findmatchingkeys warning test requires crytpo to be supported

parent 6e08af82
...@@ -226,14 +226,17 @@ if [ $ret -eq 1 ] ; then ...@@ -226,14 +226,17 @@ if [ $ret -eq 1 ] ; then
echo "I: failed"; status=1 echo "I: failed"; status=1
fi fi
echo "I:check that multiple dnssec-keygen calls don't emit dns_dnssec_findmatchingkeys warning" if $SHELL ../testcrypto.sh -q
ret=0 then
$KEYGEN -r $RANDFILE -a dh -b 128 -n host example.net > keygen.out1 2>&1 || ret=1 echo "I:check that multiple dnssec-keygen calls don't emit dns_dnssec_findmatchingkeys warning"
grep dns_dnssec_findmatchingkeys keygen.out1 > /dev/null && ret=1 ret=0
$KEYGEN -r $RANDFILE -a dh -b 128 -n host example.net > keygen.out2 2>&1 || ret=1 $KEYGEN -r $RANDFILE -a dh -b 128 -n host example.net > keygen.out1 2>&1 || ret=1
grep dns_dnssec_findmatchingkeys keygen.out2 > /dev/null && ret=1 grep dns_dnssec_findmatchingkeys keygen.out1 > /dev/null && ret=1
if [ $ret -eq 1 ] ; then $KEYGEN -r $RANDFILE -a dh -b 128 -n host example.net > keygen.out2 2>&1 || ret=1
echo "I: failed"; status=1 grep dns_dnssec_findmatchingkeys keygen.out2 > /dev/null && ret=1
if [ $ret -eq 1 ] ; then
echo "I: failed"; status=1
fi
fi fi
echo "I:check that dnssec-keygen won't generate TSIG keys" echo "I:check that dnssec-keygen won't generate TSIG keys"
......
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