summaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-06-01 00:18:39 -0700
committerGitHub <noreply@github.com>2020-06-01 00:18:39 -0700
commit24a88b008b075bca4494822cc7549c10868ab820 (patch)
treeabe781669cfffccc0c86f6c2a46b2b6ef47f9e2a /Tools
parentbpo-17005: Move topological sort functionality to its own module (GH-20558) (diff)
downloadcpython-24a88b008b075bca4494822cc7549c10868ab820.tar.gz
cpython-24a88b008b075bca4494822cc7549c10868ab820.tar.bz2
cpython-24a88b008b075bca4494822cc7549c10868ab820.zip
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>
Diffstat (limited to 'Tools')
-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 12af98d12c4..3818165a836 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