]> granicus.if.org Git - python/commit
bpo-30102: Call OPENSSL_add_all_algorithms_noconf (#3112)
authorChristian Heimes <christian@python.org>
Tue, 5 Sep 2017 13:47:11 +0000 (15:47 +0200)
committerGitHub <noreply@github.com>
Tue, 5 Sep 2017 13:47:11 +0000 (15:47 +0200)
commitc941e6238ab2a8caad11fe17d4723a5d5e7a2d76
tree018497c5095a9dace2f074c8f96e9084f91ec18c
parent52451fbaaf099e68044e67153c2c3eaa2d71e6e7
bpo-30102: Call OPENSSL_add_all_algorithms_noconf (#3112)

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>
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