From d8903416d223d01e23dfa8bffe48b1428d90d202 Mon Sep 17 00:00:00 2001 From: Steve Dower Date: Mon, 16 Sep 2019 13:07:40 +0100 Subject: bpo-38117: Updates bundled OpenSSL to 1.0.2t (GH-16178) --- Misc/NEWS.d/next/Windows/2019-09-16-12-47-12.bpo-38117.JaiB0X.rst | 1 + PCbuild/get_external.py | 6 +++++- PCbuild/get_externals.bat | 2 +- PCbuild/python.props | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 Misc/NEWS.d/next/Windows/2019-09-16-12-47-12.bpo-38117.JaiB0X.rst diff --git a/Misc/NEWS.d/next/Windows/2019-09-16-12-47-12.bpo-38117.JaiB0X.rst b/Misc/NEWS.d/next/Windows/2019-09-16-12-47-12.bpo-38117.JaiB0X.rst new file mode 100644 index 0000000..35e1cab --- /dev/null +++ b/Misc/NEWS.d/next/Windows/2019-09-16-12-47-12.bpo-38117.JaiB0X.rst @@ -0,0 +1 @@ +Updates bundled OpenSSL to 1.0.2t diff --git a/PCbuild/get_external.py b/PCbuild/get_external.py index a682d38..10dacdd 100644 --- a/PCbuild/get_external.py +++ b/PCbuild/get_external.py @@ -1,12 +1,16 @@ #!/usr/bin/env python3 +# We do not need to import built modules from PCbuild (duh), so +# filter those out here to save Steve from debugging it yet again. +import sys +sys.path[:] = [p for p in sys.path if p and 'PCbuild' not in p] + import argparse import os import pathlib import zipfile from urllib.request import urlretrieve - def fetch_zip(commit_hash, zip_dir, *, org='python', binary=False, verbose): repo = f'cpython-{"bin" if binary else "source"}-deps' url = f'https://github.com/{org}/{repo}/archive/{commit_hash}.zip' diff --git a/PCbuild/get_externals.bat b/PCbuild/get_externals.bat index eba1949..9f1b09e 100644 --- a/PCbuild/get_externals.bat +++ b/PCbuild/get_externals.bat @@ -47,7 +47,7 @@ rem files in both this dir and PC\VS9.0 set libraries= set libraries=%libraries% bzip2-1.0.6 if NOT "%IncludeBsddb%"=="false" set libraries=%libraries% bsddb-4.7.25.0 -if NOT "%IncludeSSL%"=="false" set libraries=%libraries% openssl-1.0.2s +if NOT "%IncludeSSL%"=="false" set libraries=%libraries% openssl-1.0.2t set libraries=%libraries% sqlite-3.28.0.0 if NOT "%IncludeTkinter%"=="false" set libraries=%libraries% tcl-8.5.19.0 if NOT "%IncludeTkinter%"=="false" set libraries=%libraries% tk-8.5.19.0 diff --git a/PCbuild/python.props b/PCbuild/python.props index 355bb3f..f0b531e 100644 --- a/PCbuild/python.props +++ b/PCbuild/python.props @@ -35,7 +35,7 @@ $(ExternalsDir)sqlite-3.28.0.0\ $(ExternalsDir)bzip2-1.0.6\ $(ExternalsDir)bsddb-4.7.25.0 - $(ExternalsDir)openssl-1.0.2s\ + $(ExternalsDir)openssl-1.0.2t\ $(opensslDir)include32 $(opensslDir)include64 $(ExternalsDir)\nasm-2.11.06\ -- cgit v0.12