Skip to content

Commit 417ac32

Browse files
authored
[3.7] gh-103142: Upgrade binary builds and CI to OpenSSL 1.1.1u. (GH-105308)
1 parent 32590d5 commit 417ac32

File tree

9 files changed

+17
-19
lines changed

9 files changed

+17
-19
lines changed

.azure-pipelines/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
variables:
6262
testRunTitle: '$(build.sourceBranchName)-linux'
6363
testRunPlatform: linux
64-
openssl_version: 1.1.1t
64+
openssl_version: 1.1.1u
6565

6666
steps:
6767
- template: ./posix-steps.yml
@@ -118,7 +118,7 @@ jobs:
118118
variables:
119119
testRunTitle: '$(Build.SourceBranchName)-linux-coverage'
120120
testRunPlatform: linux-coverage
121-
openssl_version: 1.1.1t
121+
openssl_version: 1.1.1u
122122

123123
steps:
124124
- template: ./posix-steps.yml

.azure-pipelines/pr.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
variables:
6262
testRunTitle: '$(system.pullRequest.TargetBranch)-linux'
6363
testRunPlatform: linux
64-
openssl_version: 1.1.1t
64+
openssl_version: 1.1.1u
6565

6666
steps:
6767
- template: ./posix-steps.yml
@@ -118,7 +118,7 @@ jobs:
118118
variables:
119119
testRunTitle: '$(Build.SourceBranchName)-linux-coverage'
120120
testRunPlatform: linux-coverage
121-
openssl_version: 1.1.1t
121+
openssl_version: 1.1.1u
122122

123123
steps:
124124
- template: ./posix-steps.yml

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ jobs:
163163
needs: check_source
164164
if: needs.check_source.outputs.run_tests == 'true'
165165
env:
166-
OPENSSL_VER: 1.1.1t
166+
OPENSSL_VER: 1.1.1u
167167
steps:
168168
- uses: actions/checkout@v2
169169
- name: Install Dependencies

Mac/BuildScript/build-installer.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -209,9 +209,9 @@ def library_recipes():
209209

210210
result.extend([
211211
dict(
212-
name="OpenSSL 1.1.1t",
213-
url="https://www.openssl.org/source/openssl-1.1.1t.tar.gz",
214-
checksum='1cfee919e0eac6be62c88c5ae8bcd91e',
212+
name="OpenSSL 1.1.1u",
213+
url="https://www.openssl.org/source/openssl-1.1.1u.tar.gz",
214+
checksum='72f7ba7395f0f0652783ba1089aa0dcc',
215215
buildrecipe=build_universal_openssl,
216216
configure=None,
217217
install=None,
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
The version of OpenSSL used in our binary builds has been upgraded to 1.1.1u
2+
to address several CVEs.

PCbuild/get_externals.bat

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ echo.Fetching external libraries...
4949

5050
set libraries=
5151
set libraries=%libraries% bzip2-1.0.8
52-
if NOT "%IncludeSSLSrc%"=="false" set libraries=%libraries% openssl-1.1.1t
52+
if NOT "%IncludeSSLSrc%"=="false" set libraries=%libraries% openssl-1.1.1u
5353
set libraries=%libraries% sqlite-3.31.1.0
5454
if NOT "%IncludeTkinterSrc%"=="false" set libraries=%libraries% tcl-core-8.6.9.0
5555
if NOT "%IncludeTkinterSrc%"=="false" set libraries=%libraries% tk-8.6.9.0
@@ -72,7 +72,7 @@ for %%e in (%libraries%) do (
7272
echo.Fetching external binaries...
7373

7474
set binaries=
75-
if NOT "%IncludeSSL%"=="false" set binaries=%binaries% openssl-bin-1.1.1t
75+
if NOT "%IncludeSSL%"=="false" set binaries=%binaries% openssl-bin-1.1.1u
7676
if NOT "%IncludeTkinter%"=="false" set binaries=%binaries% tcltk-8.6.9.0
7777
if NOT "%IncludeSSLSrc%"=="false" set binaries=%binaries% nasm-2.11.06
7878

PCbuild/python.props

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@
5454
<sqlite3Dir Condition="$(sqlite3Dir) == ''">$(ExternalsDir)sqlite-3.31.1.0\</sqlite3Dir>
5555
<bz2Dir Condition="$(bz2Dir) == ''">$(ExternalsDir)bzip2-1.0.8\</bz2Dir>
5656
<lzmaDir Condition="$(lzmaDir) == ''">$(ExternalsDir)xz-5.2.2\</lzmaDir>
57-
<opensslDir Condition="$(opensslDir) == ''">$(ExternalsDir)openssl-1.1.1t\</opensslDir>
58-
<opensslOutDir Condition="$(opensslOutDir) == ''">$(ExternalsDir)openssl-bin-1.1.1t\$(ArchName)\</opensslOutDir>
57+
<opensslDir Condition="$(opensslDir) == ''">$(ExternalsDir)openssl-1.1.1u\</opensslDir>
58+
<opensslOutDir Condition="$(opensslOutDir) == ''">$(ExternalsDir)openssl-bin-1.1.1u\$(ArchName)\</opensslOutDir>
5959
<opensslIncludeDir Condition="$(opensslIncludeDir) == ''">$(opensslOutDir)include</opensslIncludeDir>
6060
<nasmDir Condition="$(nasmDir) == ''">$(ExternalsDir)\nasm-2.11.06\</nasmDir>
6161
<zlibDir Condition="$(zlibDir) == ''">$(ExternalsDir)\zlib-1.2.12\</zlibDir>

PCbuild/readme.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ _lzma
165165
Homepage:
166166
http://tukaani.org/xz/
167167
_ssl
168-
Python wrapper for version 1.1.1t of the OpenSSL secure sockets
168+
Python wrapper for version 1.1.1u of the OpenSSL secure sockets
169169
library, which is downloaded from our binaries repository at
170170
https://github.com/python/cpython-bin-deps.
171171

Tools/ssl/multissltests.py

+2-6
Original file line numberDiff line numberDiff line change
@@ -43,21 +43,17 @@
4343
log = logging.getLogger("multissl")
4444

4545
OPENSSL_OLD_VERSIONS = [
46-
"1.0.2u",
47-
"1.1.0l",
4846
]
4947

5048
OPENSSL_RECENT_VERSIONS = [
51-
"1.1.1t",
52-
"3.0.8"
49+
"1.1.1u",
50+
"3.0.9"
5351
]
5452

5553
LIBRESSL_OLD_VERSIONS = [
56-
"2.9.2",
5754
]
5855

5956
LIBRESSL_RECENT_VERSIONS = [
60-
"3.1.0",
6157
]
6258

6359
# store files in ../multissl

0 commit comments

Comments
 (0)