Avoid testing ECDSA when hcrypto doesn't support it
This commit is contained in:
@@ -187,6 +187,9 @@ ${hxtool} verify \
|
|||||||
anchor:FILE:$srcdir/data/ca.crt \
|
anchor:FILE:$srcdir/data/ca.crt \
|
||||||
crl:FILE:$srcdir/data/crl1.der > /dev/null && exit 1
|
crl:FILE:$srcdir/data/crl1.der > /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"
|
echo "eccert -> root"
|
||||||
${hxtool} verify --missing-revoke \
|
${hxtool} verify --missing-revoke \
|
||||||
cert:FILE:$srcdir/data/secp160r2TestServer.cert.pem \
|
cert:FILE:$srcdir/data/secp160r2TestServer.cert.pem \
|
||||||
@@ -196,6 +199,7 @@ echo "eccert -> root"
|
|||||||
${hxtool} verify --missing-revoke \
|
${hxtool} verify --missing-revoke \
|
||||||
cert:FILE:$srcdir/data/secp160r2TestClient.cert.pem \
|
cert:FILE:$srcdir/data/secp160r2TestClient.cert.pem \
|
||||||
anchor:FILE:$srcdir/data/secp160r1TestCA.cert.pem > /dev/null || exit 1
|
anchor:FILE:$srcdir/data/secp160r1TestCA.cert.pem > /dev/null || exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
echo "proxy cert"
|
echo "proxy cert"
|
||||||
${hxtool} verify --missing-revoke \
|
${hxtool} verify --missing-revoke \
|
||||||
|
Reference in New Issue
Block a user