From 09c00dbfc3b7cb563d02c3ea9240373e57716ca4 Mon Sep 17 00:00:00 2001 From: Zachary Ware Date: Tue, 9 Jun 2026 12:39:56 -0500 Subject: [PATCH] [3.13] gh-151159: Update Windows builds to use OpenSSL 3.0.21 (GH-151191) --- .../2026-05-03-14-07-51.gh-issue-149254.ENtMYD.rst | 1 - .../2026-06-09-12-04-21.gh-issue-151159.O2NVrd.rst | 1 + Misc/externals.spdx.json | 8 ++++---- PCbuild/get_externals.bat | 4 ++-- PCbuild/python.props | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) delete mode 100644 Misc/NEWS.d/next/Windows/2026-05-03-14-07-51.gh-issue-149254.ENtMYD.rst create mode 100644 Misc/NEWS.d/next/Windows/2026-06-09-12-04-21.gh-issue-151159.O2NVrd.rst diff --git a/Misc/NEWS.d/next/Windows/2026-05-03-14-07-51.gh-issue-149254.ENtMYD.rst b/Misc/NEWS.d/next/Windows/2026-05-03-14-07-51.gh-issue-149254.ENtMYD.rst deleted file mode 100644 index 5b7f20dff7c6..000000000000 --- a/Misc/NEWS.d/next/Windows/2026-05-03-14-07-51.gh-issue-149254.ENtMYD.rst +++ /dev/null @@ -1 +0,0 @@ -Updated bundled version of OpenSSL to 3.0.20. diff --git a/Misc/NEWS.d/next/Windows/2026-06-09-12-04-21.gh-issue-151159.O2NVrd.rst b/Misc/NEWS.d/next/Windows/2026-06-09-12-04-21.gh-issue-151159.O2NVrd.rst new file mode 100644 index 000000000000..81ba86fab4ee --- /dev/null +++ b/Misc/NEWS.d/next/Windows/2026-06-09-12-04-21.gh-issue-151159.O2NVrd.rst @@ -0,0 +1 @@ +Updated bundled version of OpenSSL to 3.0.21. diff --git a/Misc/externals.spdx.json b/Misc/externals.spdx.json index a3eae97b1bfe..a3ab9416f20b 100644 --- a/Misc/externals.spdx.json +++ b/Misc/externals.spdx.json @@ -70,21 +70,21 @@ "checksums": [ { "algorithm": "SHA256", - "checksumValue": "ebaaba68e727233bda99cbb4164bdfa0894f3a1cab90a2cbcaca9d3cadebe8cd" + "checksumValue": "0349aef1ff9ded3eb23be12c2586e026be5cec3fd40df859e388671d7844fced" } ], - "downloadLocation": "https://github.com/python/cpython-source-deps/archive/refs/tags/openssl-3.0.20.tar.gz", + "downloadLocation": "https://github.com/python/cpython-source-deps/archive/refs/tags/openssl-3.0.21.tar.gz", "externalRefs": [ { "referenceCategory": "SECURITY", - "referenceLocator": "cpe:2.3:a:openssl:openssl:3.0.20:*:*:*:*:*:*:*", + "referenceLocator": "cpe:2.3:a:openssl:openssl:3.0.21:*:*:*:*:*:*:*", "referenceType": "cpe23Type" } ], "licenseConcluded": "NOASSERTION", "name": "openssl", "primaryPackagePurpose": "SOURCE", - "versionInfo": "3.0.20" + "versionInfo": "3.0.21" }, { "SPDXID": "SPDXRef-PACKAGE-sqlite", diff --git a/PCbuild/get_externals.bat b/PCbuild/get_externals.bat index d043b167e6fd..65f1e1b6c591 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.0.20 +if NOT "%IncludeSSLSrc%"=="false" set libraries=%libraries% openssl-3.0.21 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.0.20 +if NOT "%IncludeSSL%"=="false" set binaries=%binaries% openssl-bin-3.0.21 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 a63091b899c4..64e4cd08db7f 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.0.20\ - $(ExternalsDir)openssl-bin-3.0.20\$(ArchName)\ + $(ExternalsDir)openssl-3.0.21\ + $(ExternalsDir)openssl-bin-3.0.21\$(ArchName)\ $(opensslOutDir)include $(ExternalsDir)\nasm-2.11.06\ $(ExternalsDir)\zlib-1.3.1\ -- 2.47.3