From: Daiki Ueno Date: Wed, 5 Oct 2022 08:44:01 +0000 (+0900) Subject: tests: skip tpm2.sh test for now if OpenSSL version 3 is detected X-Git-Tag: 3.8.0~30^2~4 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=8498a3a97a3f67ecaea9d16939f70076ac4d5b73;p=thirdparty%2Fgnutls.git tests: skip tpm2.sh test for now if OpenSSL version 3 is detected tpm2-tss-engine does not work well with OpenSSL 3 yet. Signed-off-by: Daiki Ueno --- diff --git a/tests/tpm2.sh b/tests/tpm2.sh index 6f8e44c64b..ace3badced 100755 --- a/tests/tpm2.sh +++ b/tests/tpm2.sh @@ -50,6 +50,15 @@ if [ -z "$(which base64 2>/dev/null)" ]; then exit 77 fi +: ${OPENSSL=openssl} + +case `"$OPENSSL" version` in + *OpenSSL\ 3*) + echo "This test is not yet compatible with OpenSSL 3." + exit 77 + ;; +esac + if [ -z "$(which tpm2tss-genkey 2>/dev/null)" ]; then echo "Need tpm2tss-genkey from tpm2-tss-engine package to run this test." exit 77