]> 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:11:51 +0000 (00:11 -0700)
committerGitHub <noreply@github.com>
Mon, 1 Jun 2020 07:11:51 +0000 (00:11 -0700)
commit296db8cc2fd089d0d2f23b7dddafc029be9f1eb6
tree1d00e58a659c7d84890eed066f934ca6d3c296c4
parenta9dbae434f26b2c419a1cd0a8233143f40fd00db
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