]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-94172: Remove ssl.PROTOCOL_SSLv2 dead code (#94312)
authorVictor Stinner <vstinner@python.org>
Tue, 28 Jun 2022 11:57:08 +0000 (13:57 +0200)
committerGitHub <noreply@github.com>
Tue, 28 Jun 2022 11:57:08 +0000 (13:57 +0200)
commit600c65c094b0b48704d8ec2416930648052ba715
tree70416a3c4b9b89b694b3e7d92c7422dfca1c2341
parent4b854b746650214eddadb2440efd9e1544d08ccb
gh-94172: Remove ssl.PROTOCOL_SSLv2 dead code (#94312)

Remove dead code related to ssl.PROTOCOL_SSLv2. ssl.PROTOCOL_SSLv2
was already removed in Python 3.10.

In test_ssl, @requires_tls_version('SSLv2') always returned False.

Extract of the removed code: "OpenSSL has removed support for SSLv2".
Doc/library/ssl.rst
Lib/test/test_ssl.py
Modules/_ssl.c