diff options
author | James Bottomley <James.Bottomley@HansenPartnership.com> | 2023-06-26 10:11:10 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2023-06-26 10:13:45 -0400 |
commit | 85d1401b98b9348e34b8a3be7fefd8aebee467c5 (patch) | |
tree | c742f37f6a321259aa8ee1b34abc6c79d47c46b6 | |
parent | fdbab95dc58c30095da8c2d542fbc612b1fa3689 (diff) | |
download | openssl_tpm2_engine-85d1401b98b9348e34b8a3be7fefd8aebee467c5.tar.gz |
tests: skip known test failures for swtpm
Apparently swtpm has deviated from the TPM2 reference implementation
and one consequence of this is that it no longer handles parametrised
EC curves correctly. Skip the non openssl curve tests to prevent this
causing spurious test failures.
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
-rwxr-xr-x | tests/create_nonopenssl_ecc.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/create_nonopenssl_ecc.sh b/tests/create_nonopenssl_ecc.sh index a23a4cf..c1e6b4d 100755 --- a/tests/create_nonopenssl_ecc.sh +++ b/tests/create_nonopenssl_ecc.sh @@ -1,5 +1,10 @@ #!/bin/bash +# swtpm doesn't have a correct implementation of the Barreto-Naehrig curves +# which are the only openssl unparametrised ones, so skip the test +if [ -x "${SWTPM}" ]; then + exit 77; +fi ## # test is |