summaryrefslogtreecommitdiffstats
path: root/Tools/ssl
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2020-06-01 06:58:14 (GMT)
committerGitHub <noreply@github.com>2020-06-01 06:58:14 (GMT)
commita871f692b4a2e6c7d45579693e787edc0af1a02c (patch)
treee866e16f4f68680e6ea01dcd5c35a7be3fdca0f7 /Tools/ssl
parent2f172d8f1525defe9bba4d49e967fdfc69151731 (diff)
downloadcpython-a871f692b4a2e6c7d45579693e787edc0af1a02c.zip
cpython-a871f692b4a2e6c7d45579693e787edc0af1a02c.tar.gz
cpython-a871f692b4a2e6c7d45579693e787edc0af1a02c.tar.bz2
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>
Diffstat (limited to 'Tools/ssl')
-rwxr-xr-xTools/ssl/multissltests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tools/ssl/multissltests.py b/Tools/ssl/multissltests.py
index 12af98d..3818165 100755
--- a/Tools/ssl/multissltests.py
+++ b/Tools/ssl/multissltests.py
@@ -314,6 +314,7 @@ class AbstractBuilder(object):
"shared", "--debug",
"--prefix={}".format(self.install_dir)
]
+ # cmd.extend(["no-deprecated", "--api=1.1.0"])
env = os.environ.copy()
# set rpath
env["LD_RUN_PATH"] = self.lib_dir