]> granicus.if.org Git - python/commit
[3.6] bpo-30102: Call OPENSSL_add_all_algorithms_noconf (GH-3112) (#3342)
authorChristian Heimes <christian@python.org>
Tue, 5 Sep 2017 15:12:03 +0000 (17:12 +0200)
committerGitHub <noreply@github.com>
Tue, 5 Sep 2017 15:12:03 +0000 (17:12 +0200)
commit2ddea0f098b42dfd74f53bcbf08c8e68c83e1049
tree344ca48430eb1dfaeffb101dd621351c6a05831d
parent02854dab6231d726fa2c63d44ab25598988c44f4
[3.6] bpo-30102: Call OPENSSL_add_all_algorithms_noconf (GH-3112) (#3342)

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