]> 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:17:16 +0000 (00:17 -0700)
committerGitHub <noreply@github.com>
Mon, 1 Jun 2020 07:17:16 +0000 (00:17 -0700)
commit9c0ff178a5d5d0992c0be21a7f343a495338ad73
treed832245dd0b3b1012d516b42cf8fe2b0e5d8803c
parentba1c2c85b39fbcb31584c20f8a63fb87f9cb9c02
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