]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-30008: Fix OpenSSL no-deprecated compilation (GH-20397)
authorChristian Heimes <christian@python.org>
Mon, 1 Jun 2020 06:58:14 +0000 (08:58 +0200)
committerGitHub <noreply@github.com>
Mon, 1 Jun 2020 06:58:14 +0000 (08:58 +0200)
commita871f692b4a2e6c7d45579693e787edc0af1a02c
treee866e16f4f68680e6ea01dcd5c35a7be3fdca0f7
parent2f172d8f1525defe9bba4d49e967fdfc69151731
bpo-30008: Fix OpenSSL no-deprecated compilation (GH-20397)

Fix :mod:`ssl`` code to be compatible with OpenSSL 1.1.x builds that use
``no-deprecated`` and ``--api=1.1.0``.

Note: Tests assume full OpenSSL API and fail with limited API.

Signed-off-by: Christian Heimes <christian@python.org>
Co-authored-by: Mark Wright <gienah@gentoo.org>
Misc/NEWS.d/next/Library/2020-05-25-22-18-38.bpo-30008.CKC3td.rst [new file with mode: 0644]
Modules/_ssl.c
Tools/ssl/multissltests.py