]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-43669: PEP 644: Require OpenSSL 1.1.1 or newer (GH-23014)
authorChristian Heimes <christian@python.org>
Sat, 17 Apr 2021 09:36:35 +0000 (11:36 +0200)
committerGitHub <noreply@github.com>
Sat, 17 Apr 2021 09:36:35 +0000 (11:36 +0200)
commit39258d3595300bc7b952854c915f63ae2d4b9c3e
treec15a6172739d53516aa45042f22658e0af6ff992
parentb467d9a24011992242c95d9157d3455f8a84466b
bpo-43669: PEP 644: Require OpenSSL 1.1.1 or newer (GH-23014)

- Remove HAVE_X509_VERIFY_PARAM_SET1_HOST check
- Update hashopenssl to require OpenSSL 1.1.1
- multissltests only OpenSSL > 1.1.0
- ALPN is always supported
- SNI is always supported
- Remove deprecated NPN code. Python wrappers are no-op.
- ECDH is always supported
- Remove OPENSSL_VERSION_1_1 macro
- Remove locking callbacks
- Drop PY_OPENSSL_1_1_API macro
- Drop HAVE_SSL_CTX_CLEAR_OPTIONS macro
- SSL_CTRL_GET_MAX_PROTO_VERSION is always defined now
- security level is always available now
- get_num_tickets is available with TLS 1.3
- X509_V_ERR MISMATCH is always available now
- Always set SSL_MODE_RELEASE_BUFFERS
- X509_V_FLAG_TRUSTED_FIRST is always available
- get_ciphers is always supported
- SSL_CTX_set_keylog_callback is always available
- Update Modules/Setup with static link example
- Mention PEP in whatsnew
- Drop 1.0.2 and 1.1.0 from GHA tests
17 files changed:
.github/workflows/build.yml
Doc/using/unix.rst
Doc/whatsnew/3.10.rst
Lib/ssl.py
Lib/test/test_ssl.py
Misc/NEWS.d/next/Build/2021-03-30-14-19-39.bpo-43669.lWMUYx.rst [new file with mode: 0644]
Modules/Setup
Modules/_hashopenssl.c
Modules/_ssl.c
Modules/_ssl/debughelpers.c
Modules/clinic/_hashopenssl.c.h
Modules/clinic/_ssl.c.h
Tools/ssl/multissltests.py
configure
configure.ac
pyconfig.h.in
setup.py