Refactor ecdsa system test

Similar to eddsa system test.

(cherry picked from commit 650b0d4691)
This commit is contained in:
Matthijs Mekking
2021-02-03 11:52:30 +01:00
parent 4538d8ddf2
commit 40e56b0dcc
7 changed files with 122 additions and 27 deletions

View File

@@ -12,4 +12,20 @@
SYSTEMTESTTOP=..
. $SYSTEMTESTTOP/conf.sh
cd ns1 && $SHELL sign.sh
set -e
if $SHELL ../testcrypto.sh ecdsap384sha384; then
echo "yes" > ecdsa256-supported.file
fi
if $SHELL ../testcrypto.sh ecdsap384sha384; then
echo "yes" > ecdsa384-supported.file
fi
copy_setports ns1/named.conf.in ns1/named.conf
copy_setports ns2/named.conf.in ns2/named.conf
copy_setports ns3/named.conf.in ns3/named.conf
(
cd ns1
$SHELL sign.sh
)