]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-30008: Fix OpenSSL no-deprecated compilation (GH-20397)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 1 Jun 2020 07:18:39 +0000 (00:18 -0700)
committerGitHub <noreply@github.com>
Mon, 1 Jun 2020 07:18:39 +0000 (00:18 -0700)
commit24a88b008b075bca4494822cc7549c10868ab820
treeabe781669cfffccc0c86f6c2a46b2b6ef47f9e2a
parent0a674638a3de14dc86b5294a5db067e0c2177a51
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>
(cherry picked from commit a871f692b4a2e6c7d45579693e787edc0af1a02c)

Co-authored-by: Christian Heimes <christian@python.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