From bdcb4e2e3219e2b051f0246208f8abd1d0b2231b Mon Sep 17 00:00:00 2001 From: Alex Leach Date: Wed, 10 Jul 2024 07:17:55 +0100 Subject: [PATCH] Swap openssl base provider for default provider in integration tests --- test/integration/p11-tool.sh.nosetup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/p11-tool.sh.nosetup b/test/integration/p11-tool.sh.nosetup index 586a9330..43e03f40 100755 --- a/test/integration/p11-tool.sh.nosetup +++ b/test/integration/p11-tool.sh.nosetup @@ -222,7 +222,7 @@ auth_myrsakey=$(echo "$yaml_myrsakey" | grep "object-auth" | cut -d' ' -f2-) setup_asan -openssl dgst -provider tpm2 -provider base \ +openssl dgst -provider tpm2 -provider default \ -sha256 -sigopt rsa_padding_mode:pss -sigopt rsa_pss_saltlen:-1 \ -sign "$TPM2_PKCS11_STORE/myrsakey.pem" -out ${tempdir}/sig -passin "pass:$auth_myrsakey" ${tempdir}/data @@ -252,7 +252,7 @@ auth_myecckey=$(echo "$yaml_myecckey" | grep "object-auth" | cut -d' ' -f2-) setup_asan -openssl dgst -provider tpm2 -provider base \ +openssl dgst -provider tpm2 -provider default \ -sha1 -sign "$TPM2_PKCS11_STORE/myecckey.pem" -out ${tempdir}/sig -passin "pass:$auth_myecckey" ${tempdir}/data openssl dgst -sha1 -verify ${tempdir}/eccpubkey.pem -signature ${tempdir}/sig ${tempdir}/data