diff --git a/tests/runtest.sh b/tests/runtest.sh index 27a4c6a..deb0bed 100755 --- a/tests/runtest.sh +++ b/tests/runtest.sh @@ -1,7 +1,7 @@ #!/bin/bash # get tpm simulator code -IBMTPM_VERSION=1637 +IBMTPM_VERSION=1661 wget --no-check-certificate https://downloads.sourceforge.net/project/ibmswtpm2/ibmtpm$IBMTPM_VERSION.tar.gz res="$?" @@ -16,6 +16,9 @@ mkdir ibmtpm pushd ibmtpm tar xf ../ibmtpm$IBMTPM_VERSION.tar.gz pushd src +# fixup for openssl 3 +sed -i -e "s|OPENSSL_VERSION_NUMBER >= 0x10200000L|OPENSSL_VERSION_NUMBER > 0x30000000L|" TpmToOsslMath.h +sed -i -e "s|CCFLAGS = -Wall|CCFLAGS = -Wall -Wno-error=deprecated-declarations|" makefile make res="$?"