Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f3fb839

Browse files
authoredJun 18, 2019
bpo-34631: Updated OpenSSL to 1.1.1c in macOS installer (pythonGH-14187)
1 parent 9bbece9 commit f3fb839

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed
 

‎Mac/BuildScript/build-installer.py

+13-3
Original file line numberDiff line numberDiff line change
@@ -215,9 +215,9 @@ def library_recipes():
215215

216216
result.extend([
217217
dict(
218-
name="OpenSSL 1.1.0j",
219-
url="https://www.openssl.org/source/openssl-1.1.0j.tar.gz",
220-
checksum='b4ca5b78ae6ae79da80790b30dbedbdc',
218+
name="OpenSSL 1.1.1c",
219+
url="https://www.openssl.org/source/openssl-1.1.1c.tar.gz",
220+
checksum='15e21da6efe8aa0e0768ffd8cd37a5f6',
221221
buildrecipe=build_universal_openssl,
222222
configure=None,
223223
install=None,
@@ -810,6 +810,16 @@ def build_openssl_arch(archbase, arch):
810810
"ppc": ["darwin-ppc-cc"],
811811
"ppc64": ["darwin64-ppc-cc"],
812812
}
813+
814+
# Somewhere between OpenSSL 1.1.0j and 1.1.1c, changes cause the
815+
# "enable-ec_nistp_64_gcc_128" option to get compile errors when
816+
# building on our 10.6 gcc-4.2 environment. There have been other
817+
# reports of projects running into this when using older compilers.
818+
# So, for now, do not try to use "enable-ec_nistp_64_gcc_128" when
819+
# building for 10.6.
820+
if getDeptargetTuple() == (10, 6):
821+
arch_opts['x86_64'].remove('enable-ec_nistp_64_gcc_128')
822+
813823
configure_opts = [
814824
"no-idea",
815825
"no-mdc2",
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Updated OpenSSL to 1.1.1c in macOS installer.

0 commit comments

Comments
 (0)
Please sign in to comment.