don't run dsa wycheproof without dsa (#8201)

This commit is contained in:
Alex Gaynor 2023-02-03 01:14:35 -05:00 committed by GitHub
parent af8dfba935
commit e7fc8abe98
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,6 +20,10 @@ _DIGESTS = {
}
@pytest.mark.supported(
only_if=lambda backend: backend.dsa_supported(),
skip_message="Requires OpenSSL with DSA support",
)
@wycheproof_tests(
"dsa_test.json",
"dsa_2048_224_sha224_test.json",