Avoid testing ECDSA when hcrypto doesn't support it
This commit is contained in:
@@ -187,15 +187,19 @@ ${hxtool} verify \
|
||||
anchor:FILE:$srcdir/data/ca.crt \
|
||||
crl:FILE:$srcdir/data/crl1.der > /dev/null && exit 1
|
||||
|
||||
echo "eccert -> root"
|
||||
${hxtool} verify --missing-revoke \
|
||||
cert:FILE:$srcdir/data/secp160r2TestServer.cert.pem \
|
||||
anchor:FILE:$srcdir/data/secp160r1TestCA.cert.pem > /dev/null || exit 1
|
||||
|
||||
echo "eccert -> root"
|
||||
${hxtool} verify --missing-revoke \
|
||||
cert:FILE:$srcdir/data/secp160r2TestClient.cert.pem \
|
||||
anchor:FILE:$srcdir/data/secp160r1TestCA.cert.pem > /dev/null || exit 1
|
||||
if ${hxtool} info | grep 'ecdsa: hcrypto null' > /dev/null ; then
|
||||
echo "not testing ECDSA since hcrypto doesnt support ECDSA"
|
||||
else
|
||||
echo "eccert -> root"
|
||||
${hxtool} verify --missing-revoke \
|
||||
cert:FILE:$srcdir/data/secp160r2TestServer.cert.pem \
|
||||
anchor:FILE:$srcdir/data/secp160r1TestCA.cert.pem > /dev/null || exit 1
|
||||
|
||||
echo "eccert -> root"
|
||||
${hxtool} verify --missing-revoke \
|
||||
cert:FILE:$srcdir/data/secp160r2TestClient.cert.pem \
|
||||
anchor:FILE:$srcdir/data/secp160r1TestCA.cert.pem > /dev/null || exit 1
|
||||
fi
|
||||
|
||||
echo "proxy cert"
|
||||
${hxtool} verify --missing-revoke \
|
||||
|
Reference in New Issue
Block a user