diff options
author | Christian Heimes <christian@python.org> | 2022-01-13 08:46:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-13 08:46:38 (GMT) |
commit | 443b308fee088e21bbf472c376c5c9e3648f916c (patch) | |
tree | d9a0955f1967f9febb6d17806eb7d0d18b55d2ba /Lib/test/test_poplib.py | |
parent | a6ca8eee2254762422f90cf94fbaac34f85db780 (diff) | |
download | cpython-443b308fee088e21bbf472c376c5c9e3648f916c.zip cpython-443b308fee088e21bbf472c376c5c9e3648f916c.tar.gz cpython-443b308fee088e21bbf472c376c5c9e3648f916c.tar.bz2 |
bpo-40479: Fix hashlib's usedforsecurity for OpenSSL 3.0.0 (GH-30455)
Diffstat (limited to 'Lib/test/test_poplib.py')
-rw-r--r-- | Lib/test/test_poplib.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_poplib.py b/Lib/test/test_poplib.py index 44cf523..1220ca3 100644 --- a/Lib/test/test_poplib.py +++ b/Lib/test/test_poplib.py @@ -318,11 +318,11 @@ class TestPOP3Class(TestCase): def test_rpop(self): self.assertOK(self.client.rpop('foo')) - @hashlib_helper.requires_hashdigest('md5') + @hashlib_helper.requires_hashdigest('md5', openssl=True) def test_apop_normal(self): self.assertOK(self.client.apop('foo', 'dummypassword')) - @hashlib_helper.requires_hashdigest('md5') + @hashlib_helper.requires_hashdigest('md5', openssl=True) def test_apop_REDOS(self): # Replace welcome with very long evil welcome. # NB The upper bound on welcome length is currently 2048. |