[New-bugs-announce] [issue32598] Use autoconf to detect OpenSSL and libssl features

Christian Heimes report at bugs.python.org
Fri Jan 19 08:48:26 EST 2018


New submission from Christian Heimes <lists at cheimes.de>:

Starting with #31399 Python will require some OpenSSL 1.0.2 features. The features are not available in LibreSSL yet. There is no easy way to detect the feature from setup.py. The inc_dir variable in setup.py does not reflect CPPFLAG. I tried "self.compiler.preprocess()" but run into more issues. For example prints to stderr in error cases.

https://www.gnu.org/software/autoconf-archive/ax_check_openssl.html makes it easy to check for working OpenSSL. It uses either pkg-config or falls back to manual detection in common locations.

Based on the M4 macro it is easy to check for features like working X509_VERIFY_PARAM_set1_host() function.

----------
components: Extension Modules, Installation
messages: 310277
nosy: christian.heimes
priority: normal
severity: normal
status: open
title: Use autoconf to detect OpenSSL and libssl features
type: behavior
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32598>
_______________________________________


More information about the New-bugs-announce mailing list