Skip to content

Commit 51e74bf

Browse files
tiranhello-adam
authored andcommitted
[3.9] bpo-47024: Update OpenSSL to 1.1.1n (pythonGH-31895) (python#31917)
Co-authored-by: Zachary Ware <[email protected]>. Co-authored-by: Christian Heimes <[email protected]>. Co-authored-by: Christian Heimes <[email protected]>
1 parent 84190ca commit 51e74bf

File tree

7 files changed

+14
-13
lines changed

7 files changed

+14
-13
lines changed

.azure-pipelines/pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
variables:
5858
testRunTitle: '$(system.pullRequest.TargetBranch)-linux'
5959
testRunPlatform: linux
60-
openssl_version: 1.1.1m
60+
openssl_version: 1.1.1n
6161

6262
steps:
6363
- template: ./posix-steps.yml
@@ -83,7 +83,7 @@ jobs:
8383
variables:
8484
testRunTitle: '$(Build.SourceBranchName)-linux-coverage'
8585
testRunPlatform: linux-coverage
86-
openssl_version: 1.1.1m
86+
openssl_version: 1.1.1n
8787

8888
steps:
8989
- template: ./posix-steps.yml

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ jobs:
165165
needs: check_source
166166
if: needs.check_source.outputs.run_tests == 'true'
167167
env:
168-
OPENSSL_VER: 1.1.1m
168+
OPENSSL_VER: 1.1.1n
169169
PYTHONSTRICTEXTENSIONBUILD: 1
170170
steps:
171171
- uses: actions/checkout@v2
@@ -207,7 +207,7 @@ jobs:
207207
strategy:
208208
fail-fast: false
209209
matrix:
210-
openssl_ver: [1.0.2u, 1.1.0l, 1.1.1m, 3.0.1]
210+
openssl_ver: [1.0.2u, 1.1.0l, 1.1.1n, 3.0.2]
211211
env:
212212
OPENSSL_VER: ${{ matrix.openssl_ver }}
213213
MULTISSL_DIR: ${{ github.workspace }}/multissl

Mac/BuildScript/build-installer.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -244,9 +244,9 @@ def library_recipes():
244244

245245
result.extend([
246246
dict(
247-
name="OpenSSL 1.1.1m",
248-
url="https://www.openssl.org/source/openssl-1.1.1m.tar.gz",
249-
checksum='8ec70f665c145c3103f6e330f538a9db',
247+
name="OpenSSL 1.1.1n",
248+
url="https://www.openssl.org/source/openssl-1.1.1n.tar.gz",
249+
checksum='2aad5635f9bb338bc2c6b7d19cbc9676',
250250
buildrecipe=build_universal_openssl,
251251
configure=None,
252252
install=None,
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Update OpenSSL to 1.1.1n for macOS installers and all Windows builds.

PCbuild/get_externals.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ echo.Fetching external libraries...
5353
set libraries=
5454
set libraries=%libraries% bzip2-1.0.8
5555
if NOT "%IncludeLibffiSrc%"=="false" set libraries=%libraries% libffi-3.3.0
56-
if NOT "%IncludeSSLSrc%"=="false" set libraries=%libraries% openssl-1.1.1m
56+
if NOT "%IncludeSSLSrc%"=="false" set libraries=%libraries% openssl-1.1.1n
5757
set libraries=%libraries% sqlite-3.37.2.0
5858
if NOT "%IncludeTkinterSrc%"=="false" set libraries=%libraries% tcl-core-8.6.12.0
5959
if NOT "%IncludeTkinterSrc%"=="false" set libraries=%libraries% tk-8.6.12.0
@@ -77,7 +77,7 @@ echo.Fetching external binaries...
7777

7878
set binaries=
7979
if NOT "%IncludeLibffi%"=="false" set binaries=%binaries% libffi-3.3.0
80-
if NOT "%IncludeSSL%"=="false" set binaries=%binaries% openssl-bin-1.1.1m
80+
if NOT "%IncludeSSL%"=="false" set binaries=%binaries% openssl-bin-1.1.1n
8181
if NOT "%IncludeTkinter%"=="false" set binaries=%binaries% tcltk-8.6.12.0
8282
if NOT "%IncludeSSLSrc%"=="false" set binaries=%binaries% nasm-2.11.06
8383

PCbuild/python.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@
6363
<libffiDir>$(ExternalsDir)libffi-3.3.0\</libffiDir>
6464
<libffiOutDir>$(ExternalsDir)libffi-3.3.0\$(ArchName)\</libffiOutDir>
6565
<libffiIncludeDir>$(libffiOutDir)include</libffiIncludeDir>
66-
<opensslDir>$(ExternalsDir)openssl-1.1.1m\</opensslDir>
67-
<opensslOutDir>$(ExternalsDir)openssl-bin-1.1.1m\$(ArchName)\</opensslOutDir>
66+
<opensslDir>$(ExternalsDir)openssl-1.1.1n\</opensslDir>
67+
<opensslOutDir>$(ExternalsDir)openssl-bin-1.1.1n\$(ArchName)\</opensslOutDir>
6868
<opensslIncludeDir>$(opensslOutDir)include</opensslIncludeDir>
6969
<nasmDir>$(ExternalsDir)\nasm-2.11.06\</nasmDir>
7070
<zlibDir>$(ExternalsDir)\zlib-1.2.11\</zlibDir>

Tools/ssl/multissltests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@
4949
]
5050

5151
OPENSSL_RECENT_VERSIONS = [
52-
"1.1.1m",
53-
"3.0.1"
52+
"1.1.1n",
53+
"3.0.2"
5454
]
5555

5656
LIBRESSL_OLD_VERSIONS = [

0 commit comments

Comments
 (0)