From 909effb2f33f3b6cf0e3e5028c7c4c3b36cb77ce Mon Sep 17 00:00:00 2001 From: Steve Dower Date: Mon, 10 Dec 2018 14:58:42 -0800 Subject: [PATCH 1/2] bpo-35401: Update Windows build to OpenSSL 1.1.0j --- PCbuild/get_externals.bat | 4 ++-- PCbuild/prepare_ssl.bat | 7 ------- PCbuild/python.props | 4 ++-- 3 files changed, 4 insertions(+), 11 deletions(-) diff --git a/PCbuild/get_externals.bat b/PCbuild/get_externals.bat index 9d4faee5f7cfdfe..7a8de1e7612c544 100644 --- a/PCbuild/get_externals.bat +++ b/PCbuild/get_externals.bat @@ -49,7 +49,7 @@ echo.Fetching external libraries... set libraries= set libraries=%libraries% bzip2-1.0.6 -if NOT "%IncludeSSLSrc%"=="false" set libraries=%libraries% openssl-1.1.0i +if NOT "%IncludeSSLSrc%"=="false" set libraries=%libraries% openssl-1.1.0j set libraries=%libraries% sqlite-3.21.0.0 if NOT "%IncludeTkinterSrc%"=="false" set libraries=%libraries% tcl-core-8.6.8.0 if NOT "%IncludeTkinterSrc%"=="false" set libraries=%libraries% tk-8.6.8.0 @@ -72,7 +72,7 @@ for %%e in (%libraries%) do ( echo.Fetching external binaries... set binaries= -if NOT "%IncludeSSL%"=="false" set binaries=%binaries% openssl-bin-1.1.0i +if NOT "%IncludeSSL%"=="false" set binaries=%binaries% openssl-bin-1.1.0j if NOT "%IncludeTkinter%"=="false" set binaries=%binaries% tcltk-8.6.8.0 if NOT "%IncludeSSLSrc%"=="false" set binaries=%binaries% nasm-2.11.06 diff --git a/PCbuild/prepare_ssl.bat b/PCbuild/prepare_ssl.bat index bfdac5404423481..83c33e1a78afd0f 100644 --- a/PCbuild/prepare_ssl.bat +++ b/PCbuild/prepare_ssl.bat @@ -32,19 +32,12 @@ if "%~1"=="-h" shift & goto Usage if "%~1"=="--certificate" (set SigningCertificate=%~2) && shift && shift & goto CheckOpts if "%~1"=="-c" (set SigningCertificate=%~2) && shift && shift & goto CheckOpts if "%~1"=="--organization" (set ORG_SETTING=--organization "%~2") && shift && shift && goto CheckOpts -if "%~1"=="-i" (SET SRC=$~2) && shift && shift && goto CheckOpts -if "%~1"=="--in" (SET SRC=$~2) && shift && shift && goto CheckOpts -if "%~1"=="-o" (set OUT=$~2) && shift && shift && goto CheckOpts -if "%~1"=="--out" (set OUT=$~2) && shift && shift && goto CheckOpts if "%~1"=="" goto Build echo Unrecognized option: %1 goto Usage :Build -if not defined SRC (echo --in directory is required & exit /b 1) -if not defined OUT (echo --out directory is required & exit /b 1) - call "%PCBUILD%\find_msbuild.bat" %MSBUILD% if ERRORLEVEL 1 (echo Cannot locate MSBuild.exe on PATH or as MSBUILD variable & exit /b 2) diff --git a/PCbuild/python.props b/PCbuild/python.props index f474e6f07e6dacc..f83d4df0d59fa4b 100644 --- a/PCbuild/python.props +++ b/PCbuild/python.props @@ -49,8 +49,8 @@ $(ExternalsDir)sqlite-3.21.0.0\ $(ExternalsDir)bzip2-1.0.6\ $(ExternalsDir)xz-5.2.2\ - $(ExternalsDir)openssl-1.1.0i\ - $(ExternalsDir)openssl-bin-1.1.0i\$(ArchName)\ + $(ExternalsDir)openssl-1.1.0j\ + $(ExternalsDir)openssl-bin-1.1.0j\$(ArchName)\ $(opensslOutDir)include $(ExternalsDir)\nasm-2.11.06\ $(ExternalsDir)\zlib-1.2.11\ From d6478b9a5471bfd13cb06f6ea154f0998a882eb6 Mon Sep 17 00:00:00 2001 From: Steve Dower Date: Mon, 10 Dec 2018 15:01:30 -0800 Subject: [PATCH 2/2] Adds NEWS and removes extra unnecessary lines --- .../next/Windows/2018-12-10-15-01-13.bpo-35401.9L1onG.rst | 1 + PCbuild/prepare_ssl.bat | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) create mode 100644 Misc/NEWS.d/next/Windows/2018-12-10-15-01-13.bpo-35401.9L1onG.rst diff --git a/Misc/NEWS.d/next/Windows/2018-12-10-15-01-13.bpo-35401.9L1onG.rst b/Misc/NEWS.d/next/Windows/2018-12-10-15-01-13.bpo-35401.9L1onG.rst new file mode 100644 index 000000000000000..5854388d067d712 --- /dev/null +++ b/Misc/NEWS.d/next/Windows/2018-12-10-15-01-13.bpo-35401.9L1onG.rst @@ -0,0 +1 @@ +Updates Windows build to OpenSSL 1.1.0j diff --git a/PCbuild/prepare_ssl.bat b/PCbuild/prepare_ssl.bat index 83c33e1a78afd0f..bd4b548528c5c17 100644 --- a/PCbuild/prepare_ssl.bat +++ b/PCbuild/prepare_ssl.bat @@ -23,8 +23,6 @@ setlocal if "%PCBUILD%"=="" (set PCBUILD=%~dp0) if "%EXTERNALS_DIR%"=="" (set EXTERNALS_DIR=%PCBUILD%\..\externals) -set OUT= -set SRC= set ORG_SETTING= :CheckOpts