update comment now that we dropped 1.0.2 (#7242)

* remove error handling for 1.0.2

* Update test_ecdsa.py
This commit is contained in:
Alex Gaynor 2022-05-20 18:25:35 -04:00 committed by GitHub
parent 10748a051a
commit 790661f54d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,9 +62,9 @@ def test_ecdsa_signature(backend, wycheproof):
)
assert isinstance(key, ec.EllipticCurvePublicKey)
except (UnsupportedAlgorithm, ValueError):
# In some OpenSSL 1.0.2s, some keys fail to load with ValueError,
# instead of Unsupported Algorithm. We can remove handling for that
# exception when we drop support.
# In some OpenSSL 1.1.1 versions (RHEL and Fedora), some keys fail to
# load with ValueError, instead of Unsupported Algorithm. We can
# remove handling for that exception when we drop support.
pytest.skip(
"unable to load key (curve {})".format(
wycheproof.testgroup["key"]["curve"]