Skip to content

Commit

Permalink
tests: Set OPENSSL_ENABLE_SHA1_SIGNATURES=1 for IBMTSS2 test
Browse files Browse the repository at this point in the history
The IBMTSS2 tests uite creates signatures over SHA1 that may now fail on
RHEL 9.x and CentOS 9. To have these tests succeed set
OPENSSL_ENABLE_SHA1_SIGNATURES=1 so the tests do not need to be modified
and also check that the TPM 2 can handle SHA1 signatures as before.
'swtpm socket --tpm2' should set this environment variable automatically
if needed.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
  • Loading branch information
stefanberger committed Aug 21, 2024
1 parent 8634768 commit 5134972
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_tpm2_ibmtss2
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ if ! ./startup; then
exit 1
fi

./reg.sh -a 2>&1 | tee "${REGLOG}"
OPENSSL_ENABLE_SHA1_SIGNATURES=1 ./reg.sh -a 2>&1 | tee "${REGLOG}"

ret=0

Expand Down

0 comments on commit 5134972

Please sign in to comment.