]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-146207: Add support for OpenSSL 4.0.0 alpha1 (#146217)
authorVictor Stinner <vstinner@python.org>
Wed, 25 Mar 2026 06:44:47 +0000 (07:44 +0100)
committerGitHub <noreply@github.com>
Wed, 25 Mar 2026 06:44:47 +0000 (07:44 +0100)
commit3364e7e62fa24d0e19133fb0f90b1c24ef1110c5
treecb4656a69075f09c4777fe7dd7a6315c50424be9
parent08f6b33bf32bdfc30eeda5966707849c459da7c2
gh-146207: Add support for OpenSSL 4.0.0 alpha1 (#146217)

OpenSSL 4.0.0 alpha1 removed these functions:

* SSLv3_method()
* TLSv1_method()
* TLSv1_1_method()
* TLSv1_2_method()

Other changes:

* Update test_openssl_version().
* Update multissltests.py for OpenSSL 4.
* Add const qualifier to fix compiler warnings.

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Lib/test/test_ssl.py
Modules/_ssl.c
Modules/_ssl/cert.c
Tools/ssl/multissltests.py