https://github.com/python/cpython/commit/09c00dbfc3b7cb563d02c3ea9240373e57716ca4
commit: 09c00dbfc3b7cb563d02c3ea9240373e57716ca4
branch: 3.13
author: Zachary Ware <[email protected]>
committer: zware <[email protected]>
date: 2026-06-09T17:39:56Z
summary:

[3.13] gh-151159: Update Windows builds to use OpenSSL 3.0.21 (GH-151191)

files:
A Misc/NEWS.d/next/Windows/2026-06-09-12-04-21.gh-issue-151159.O2NVrd.rst
D Misc/NEWS.d/next/Windows/2026-05-03-14-07-51.gh-issue-149254.ENtMYD.rst
M Misc/externals.spdx.json
M PCbuild/get_externals.bat
M PCbuild/python.props

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 5b7f20dff7c6fcf..000000000000000
--- 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 000000000000000..81ba86fab4eed38
--- /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 a3eae97b1bfe482..a3ab9416f20b17e 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 d043b167e6fd4f7..65f1e1b6c5912cd 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 a63091b899c4096..64e4cd08db7f6d0 100644
--- a/PCbuild/python.props
+++ b/PCbuild/python.props
@@ -76,8 +76,8 @@
     <libffiOutDir Condition="$(libffiOutDir) == 
''">$(libffiDir)$(ArchName)\</libffiOutDir>
     <libffiIncludeDir Condition="$(libffiIncludeDir) == 
''">$(libffiOutDir)include</libffiIncludeDir>
     <mpdecimalDir Condition="$(mpdecimalDir) == 
''">$(ExternalsDir)\mpdecimal-4.0.0\</mpdecimalDir>
-    <opensslDir Condition="$(opensslDir) == 
''">$(ExternalsDir)openssl-3.0.20\</opensslDir>
-    <opensslOutDir Condition="$(opensslOutDir) == 
''">$(ExternalsDir)openssl-bin-3.0.20\$(ArchName)\</opensslOutDir>
+    <opensslDir Condition="$(opensslDir) == 
''">$(ExternalsDir)openssl-3.0.21\</opensslDir>
+    <opensslOutDir Condition="$(opensslOutDir) == 
''">$(ExternalsDir)openssl-bin-3.0.21\$(ArchName)\</opensslOutDir>
     <opensslIncludeDir Condition="$(opensslIncludeDir) == 
''">$(opensslOutDir)include</opensslIncludeDir>
     <nasmDir Condition="$(nasmDir) == 
''">$(ExternalsDir)\nasm-2.11.06\</nasmDir>
     <zlibDir Condition="$(zlibDir) == ''">$(ExternalsDir)\zlib-1.3.1\</zlibDir>

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to