Skip to content

Commit 0743bec

Browse files
committed
Bump OpenSSL 3.5.3 -> 3.5.4
1 parent cd5307d commit 0743bec

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

pythonbuild/downloads.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -262,10 +262,10 @@
262262
},
263263
# Remember to update OPENSSL_VERSION_INFO in verify_distribution.py whenever upgrading.
264264
"openssl-3.5": {
265-
"url": "https://github.com/openssl/openssl/releases/download/openssl-3.5.3/openssl-3.5.3.tar.gz",
266-
"size": 53183370,
267-
"sha256": "c9489d2abcf943cdc8329a57092331c598a402938054dc3a22218aea8a8ec3bf",
268-
"version": "3.5.3",
265+
"url": "https://github.com/openssl/openssl/releases/download/openssl-3.5.4/openssl-3.5.4.tar.gz",
266+
"size": 53190367,
267+
"sha256": "967311f84955316969bdb1d8d4b983718ef42338639c621ec4c34fddef355e99",
268+
"version": "3.5.4",
269269
"library_names": ["crypto", "ssl"],
270270
"licenses": ["Apache-2.0"],
271271
"license_file": "LICENSE.openssl-3.txt",

src/verify_distribution.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,11 +181,16 @@ def test_ssl(self):
181181
self.assertTrue(ssl.HAS_TLSv1_3)
182182

183183
# OpenSSL 1.1 on older CPython versions on Windows. 3.5 everywhere
184-
# else.
184+
# else. The format is documented a bit here:
185+
# https://docs.openssl.org/1.1.1/man3/OPENSSL_VERSION_NUMBER/
186+
# https://docs.openssl.org/3.5/man3/OpenSSL_version/
187+
# For 1.x it is the three numerical version components, the
188+
# suffix letter as a 1-based integer, and 0xF for "release". For
189+
# 3.x it is the major, minor, 0, patch, and 0.
185190
if os.name == "nt" and sys.version_info[0:2] < (3, 11):
186191
wanted_version = (1, 1, 1, 23, 15)
187192
else:
188-
wanted_version = (3, 5, 0, 3, 15)
193+
wanted_version = (3, 5, 0, 4, 0)
189194

190195
self.assertEqual(ssl.OPENSSL_VERSION_INFO, wanted_version)
191196

0 commit comments

Comments
 (0)