From 004f30422e339fc2148e1bd930c26d18b2a3dd00 Mon Sep 17 00:00:00 2001 From: Zachary Ware Date: Tue, 29 Sep 2026 11:23:46 -0500 Subject: [PATCH] [3.13] gh-158010: Update Windows builds to use OpenSSL 3.5.9 (GH-158432) (cherry picked from commit 115c297fdcc7d0fab41ed0e5c08f1b9cbec35976) Co-authored-by: Zachary Ware --- .../2026-09-23-12-05-40.gh-issue-158010.MPcRL5.rst | 2 +- Misc/externals.spdx.json | 8 ++++---- PCbuild/get_externals.bat | 4 ++-- PCbuild/python.props | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Misc/NEWS.d/next/Windows/2026-09-23-12-05-40.gh-issue-158010.MPcRL5.rst b/Misc/NEWS.d/next/Windows/2026-09-23-12-05-40.gh-issue-158010.MPcRL5.rst index 652ca9489cd4013..92435a86b426ab2 100644 --- a/Misc/NEWS.d/next/Windows/2026-09-23-12-05-40.gh-issue-158010.MPcRL5.rst +++ b/Misc/NEWS.d/next/Windows/2026-09-23-12-05-40.gh-issue-158010.MPcRL5.rst @@ -1,2 +1,2 @@ -Updated Windows builds to use OpenSSL 3.5.8, jumping from the 3.0 series +Updated Windows builds to use OpenSSL 3.5.9, jumping from the 3.0 series to 3.5 after 3.0's end of public support in September 2026. diff --git a/Misc/externals.spdx.json b/Misc/externals.spdx.json index aece225811640e3..6e207f1ae93f24c 100644 --- a/Misc/externals.spdx.json +++ b/Misc/externals.spdx.json @@ -70,21 +70,21 @@ "checksums": [ { "algorithm": "SHA256", - "checksumValue": "36af13403a6f34251c875946d1d524c228cbf7b82fd54dd13d9019fbc37da87e" + "checksumValue": "d6cf0d9a651f25fe506f6b3dc133a80b9b79a0bc565f570dcf8fdbd597551485" } ], - "downloadLocation": "https://github.com/python/cpython-source-deps/archive/refs/tags/openssl-3.5.8.tar.gz", + "downloadLocation": "https://github.com/python/cpython-source-deps/archive/refs/tags/openssl-3.5.9.tar.gz", "externalRefs": [ { "referenceCategory": "SECURITY", - "referenceLocator": "cpe:2.3:a:openssl:openssl:3.5.8:*:*:*:*:*:*:*", + "referenceLocator": "cpe:2.3:a:openssl:openssl:3.5.9:*:*:*:*:*:*:*", "referenceType": "cpe23Type" } ], "licenseConcluded": "NOASSERTION", "name": "openssl", "primaryPackagePurpose": "SOURCE", - "versionInfo": "3.5.8" + "versionInfo": "3.5.9" }, { "SPDXID": "SPDXRef-PACKAGE-sqlite", diff --git a/PCbuild/get_externals.bat b/PCbuild/get_externals.bat index 901b92315d6415b..f2539b622fa11fb 100644 --- a/PCbuild/get_externals.bat +++ b/PCbuild/get_externals.bat @@ -53,7 +53,7 @@ echo.Fetching external libraries... set libraries= set libraries=%libraries% bzip2-1.0.8 if NOT "%IncludeLibffiSrc%"=="false" set libraries=%libraries% libffi-3.4.4 -if NOT "%IncludeSSLSrc%"=="false" set libraries=%libraries% openssl-3.5.8 +if NOT "%IncludeSSLSrc%"=="false" set libraries=%libraries% openssl-3.5.9 set libraries=%libraries% mpdecimal-4.0.0 set libraries=%libraries% sqlite-3.50.4.0 if NOT "%IncludeTkinterSrc%"=="false" set libraries=%libraries% tcl-core-8.6.15.0 @@ -77,7 +77,7 @@ echo.Fetching external binaries... set binaries= if NOT "%IncludeLibffi%"=="false" set binaries=%binaries% libffi-3.4.4 -if NOT "%IncludeSSL%"=="false" set binaries=%binaries% openssl-bin-3.5.8 +if NOT "%IncludeSSL%"=="false" set binaries=%binaries% openssl-bin-3.5.9 if NOT "%IncludeTkinter%"=="false" set binaries=%binaries% tcltk-8.6.15.0 if NOT "%IncludeSSLSrc%"=="false" set binaries=%binaries% nasm-2.11.06 diff --git a/PCbuild/python.props b/PCbuild/python.props index 17f571707b7f2e7..93af005c0f8bf4b 100644 --- a/PCbuild/python.props +++ b/PCbuild/python.props @@ -76,8 +76,8 @@ $(libffiDir)$(ArchName)\ $(libffiOutDir)include $(ExternalsDir)\mpdecimal-4.0.0\ - $(ExternalsDir)openssl-3.5.8\ - $(ExternalsDir)openssl-bin-3.5.8\$(ArchName)\ + $(ExternalsDir)openssl-3.5.9\ + $(ExternalsDir)openssl-bin-3.5.9\$(ArchName)\ $(opensslOutDir)include $(ExternalsDir)\nasm-2.11.06\ $(ExternalsDir)\zlib-1.3.1\