summaryrefslogtreecommitdiff
path: root/tests/wycheproof
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2020-10-26 01:41:40 -0400
committerGitHub <noreply@github.com>2020-10-25 22:41:40 -0700
commitd3eae8d7dbcd7ca491531424a4ac8b4838acf199 (patch)
treecb486a37a53cabbca8253a2a0f4c9d24eb1f098f /tests/wycheproof
parent558cf91f4760193e73ad6dc42b2ad6e87a06909b (diff)
downloadcryptography-d3eae8d7dbcd7ca491531424a4ac8b4838acf199.tar.gz
Delete all the 1.0.2 code (#5511)
Diffstat (limited to 'tests/wycheproof')
-rw-r--r--tests/wycheproof/test_rsa.py17
1 files changed, 1 insertions, 16 deletions
diff --git a/tests/wycheproof/test_rsa.py b/tests/wycheproof/test_rsa.py
index 1262b5885..926bb44e9 100644
--- a/tests/wycheproof/test_rsa.py
+++ b/tests/wycheproof/test_rsa.py
@@ -35,12 +35,7 @@ def should_verify(backend, wycheproof):
return True
if wycheproof.acceptable:
- if (
- backend._lib.CRYPTOGRAPHY_OPENSSL_110_OR_GREATER
- or backend._lib.CRYPTOGRAPHY_IS_LIBRESSL
- ) and wycheproof.has_flag("MissingNull"):
- return False
- return True
+ return not wycheproof.has_flag("MissingNull")
return False
@@ -165,16 +160,6 @@ def test_rsa_pss_signature(backend, wycheproof):
@pytest.mark.requires_backend_interface(interface=RSABackend)
-@pytest.mark.supported(
- only_if=lambda backend: (
- backend._lib.CRYPTOGRAPHY_OPENSSL_110_OR_GREATER
- or backend._lib.CRYPTOGRAPHY_IS_LIBRESSL
- ),
- skip_message=(
- "A handful of these tests fail on OpenSSL 1.0.2 and since upstream "
- "isn't maintaining it, they'll never be fixed."
- ),
-)
@pytest.mark.wycheproof_tests(
"rsa_oaep_2048_sha1_mgf1sha1_test.json",
"rsa_oaep_2048_sha224_mgf1sha1_test.json",