]> granicus.if.org Git - python/commit
[2.7] bpo-30102: Call OPENSSL_add_all_algorithms_noconf (GH-3112) (#3343)
authorChristian Heimes <christian@python.org>
Tue, 5 Sep 2017 15:12:12 +0000 (17:12 +0200)
committerGitHub <noreply@github.com>
Tue, 5 Sep 2017 15:12:12 +0000 (17:12 +0200)
commit7daa45db1d60eed4e5050bf792969893d9f2c8e0
tree04b72fcc5e3b080433db74d1c4889b4651a20aa4
parentffa7011cb904ee6ad9d4931b073c13d9e1514e6b
[2.7] bpo-30102: Call OPENSSL_add_all_algorithms_noconf (GH-3112) (#3343)

The ssl and hashlib modules now call OPENSSL_add_all_algorithms_noconf() on
OpenSSL < 1.1.0. The function detects CPU features and enables optimizations
on some CPU architectures such as POWER8. Patch is based on research from
Gustavo Serra Scalet.

Signed-off-by: Christian Heimes <christian@python.org>
(cherry picked from commit c941e62)
Misc/NEWS.d/next/Library/2017-08-16-21-14-31.bpo-30102.1sPqmc.rst [new file with mode: 0644]
Modules/_hashopenssl.c
Modules/_ssl.c