bpo-34631: Updated OpenSSL to 1.1.1c in macOS installer (GH-14187) · python/cpython@bd75abf (original) (raw)

`@@ -215,9 +215,9 @@ def library_recipes():

`

215

215

``

216

216

`result.extend([

`

217

217

`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',

`

221

221

`buildrecipe=build_universal_openssl,

`

222

222

`configure=None,

`

223

223

`install=None,

`

`@@ -810,6 +810,16 @@ def build_openssl_arch(archbase, arch):

`

810

810

`"ppc": ["darwin-ppc-cc"],

`

811

811

`"ppc64": ["darwin64-ppc-cc"],

`

812

812

` }

`

``

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

+

813

823

`configure_opts = [

`

814

824

`"no-idea",

`

815

825

`"no-mdc2",

`