This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients christian.heimes
Date 2018-01-19.13:48:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1516369706.4.0.467229070634.issue32598@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2018-01-19 13:48:26christian.heimessetrecipients: + christian.heimes
2018-01-19 13:48:26christian.heimessetmessageid: <1516369706.4.0.467229070634.issue32598@psf.upfronthosting.co.za>
2018-01-19 13:48:26christian.heimeslinkissue32598 messages
2018-01-19 13:48:26christian.heimescreate