From 95f37d94c2185d56e8ca2a98758c36b4fefe9821 Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Thu, 22 Aug 2024 16:50:44 +0200 Subject: [PATCH] tests: No longer skip tests reading EC keys from cert --- tests/tpubkey | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/tpubkey b/tests/tpubkey index d2f09d2b..f2ab6254 100755 --- a/tests/tpubkey +++ b/tests/tpubkey @@ -58,11 +58,10 @@ if [ -n "$BASE2URI" ]; then title LINE "Export Public key to a file (base-uri)" ossl 'pkey -in $BASE2URI -pubout -out ${TMPPDIR}/base-cert.pub' diff "${TMPPDIR}/base-cert.pub" "${TMPPDIR}/priv-cert.pub" +fi - # The MacOS keeps crashing in this step so lets skip the remaining tests - if [ "$(uname)" == "Darwin" ]; then - exit 0 - fi +if [ -n "$ECBASE2URI" ]; then + title PARA "Check we can get EC public keys from certificate objects" title LINE "Export Public EC key to a file (priv-uri)" ossl 'pkey -in $ECPRI2URI -pubout -out ${TMPPDIR}/ec-priv-cert.pub'