From c46a2ebaff1be90707ef28656649bca025e8e395 Mon Sep 17 00:00:00 2001 From: Zachary Ware Date: Mon, 22 Feb 2016 04:08:30 -0600 Subject: [PATCH] Issue #26268: Update Windows builds to use OpenSSL 1.0.2f --- Misc/NEWS | 2 ++ PC/VS9.0/pyproject.vsprops | 2 +- PC/VS9.0/readme.txt | 9 ++++----- PCbuild/_hashlib.vcxproj | 2 +- PCbuild/_ssl.vcxproj | 2 +- PCbuild/get_externals.bat | 2 +- PCbuild/openssl.props | 5 ++--- PCbuild/python.props | 4 +++- PCbuild/readme.txt | 2 +- 9 files changed, 16 insertions(+), 14 deletions(-) diff --git a/Misc/NEWS b/Misc/NEWS index d83ac5bb7fb..5fff17efaf5 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -148,6 +148,8 @@ Build - Issue #26268: Update OS X 10.5+ 32-bit-only installer to build and link with OpenSSL 1.0.2f. +- Issue #26268: Update Windows builds to use OpenSSL 1.0.2f. + What's New in Python 2.7.11? ============================ diff --git a/PC/VS9.0/pyproject.vsprops b/PC/VS9.0/pyproject.vsprops index 5625f9d028f..1570615d9a2 100644 --- a/PC/VS9.0/pyproject.vsprops +++ b/PC/VS9.0/pyproject.vsprops @@ -82,7 +82,7 @@ /> - $(opensslDir)include;%(AdditionalIncludeDirectories) + $(opensslIncludeDir);%(AdditionalIncludeDirectories) ws2_32.lib;$(OutDir)libeay$(PyDebugExt).lib;$(OutDir)ssleay$(PyDebugExt).lib;%(AdditionalDependencies) diff --git a/PCbuild/_ssl.vcxproj b/PCbuild/_ssl.vcxproj index fff23c7bc2c..73c95713a0c 100644 --- a/PCbuild/_ssl.vcxproj +++ b/PCbuild/_ssl.vcxproj @@ -61,7 +61,7 @@ - $(opensslDir)include;%(AdditionalIncludeDirectories) + $(opensslIncludeDir);%(AdditionalIncludeDirectories) ws2_32.lib;crypt32.lib;$(OutDir)libeay$(PyDebugExt).lib;$(OutDir)ssleay$(PyDebugExt).lib;%(AdditionalDependencies) diff --git a/PCbuild/get_externals.bat b/PCbuild/get_externals.bat index ffd1a16216e..333ee8250c0 100644 --- a/PCbuild/get_externals.bat +++ b/PCbuild/get_externals.bat @@ -58,7 +58,7 @@ set libraries= set libraries=%libraries% bzip2-1.0.6 if NOT "%IncludeBsddb%"=="false" set libraries=%libraries% db-4.7.25.0 if NOT "%IncludeSSL%"=="false" set libraries=%libraries% nasm-2.11.06 -if NOT "%IncludeSSL%"=="false" set libraries=%libraries% openssl-1.0.2d +if NOT "%IncludeSSL%"=="false" set libraries=%libraries% openssl-1.0.2f set libraries=%libraries% sqlite-3.6.21 if NOT "%IncludeTkinter%"=="false" set libraries=%libraries% tcl-8.5.15.0 if NOT "%IncludeTkinter%"=="false" set libraries=%libraries% tk-8.5.15.0 diff --git a/PCbuild/openssl.props b/PCbuild/openssl.props index 54f3596fb00..e45964ee87f 100644 --- a/PCbuild/openssl.props +++ b/PCbuild/openssl.props @@ -15,9 +15,8 @@ - + - @@ -51,7 +50,7 @@ 4244;4267 - $(opensslDir);$(opensslDir)include;$(opensslDir)crypto;$(opensslDir)crypto\asn1;$(opensslDir)crypto\evp;$(opensslDir)crypto\modes + $(opensslDir);$(opensslIncludeDir);$(opensslDir)crypto;$(opensslDir)crypto\asn1;$(opensslDir)crypto\evp;$(opensslDir)crypto\modes $(_PreprocessorDefinitionList);%(PreprocessorDefinitions) diff --git a/PCbuild/python.props b/PCbuild/python.props index 08ddaf12f05..d51e58baa81 100644 --- a/PCbuild/python.props +++ b/PCbuild/python.props @@ -35,7 +35,9 @@ $(ExternalsDir)sqlite-3.6.21\ $(ExternalsDir)bzip2-1.0.6\ $(ExternalsDir)db-4.7.25.0 - $(ExternalsDir)openssl-1.0.2d\ + $(ExternalsDir)openssl-1.0.2f\ + $(opensslDir)include32 + $(opensslDir)include64 $(ExternalsDir)\nasm-2.11.06\ diff --git a/PCbuild/readme.txt b/PCbuild/readme.txt index 2388535cf05..c15c3643ba2 100644 --- a/PCbuild/readme.txt +++ b/PCbuild/readme.txt @@ -183,7 +183,7 @@ _bz2 Homepage: http://www.bzip.org/ _ssl - Python wrapper for version 1.0.2d of the OpenSSL secure sockets + Python wrapper for version 1.0.2f of the OpenSSL secure sockets library, which is built by ssl.vcxproj Homepage: http://www.openssl.org/