New submission from simon <si...@simonfoley.net>:
when compiling Python 3.7.0 setup.py is reporting that the ssl module failed to compile due to missing support for X509_VERIFY_PARAM_set1_host() despite it existing in rsa.h for all versions of OpenSSL 1.1.0. Could not build the ssl module! Python requires an OpenSSL 1.0.2 or 1.1 compatible libssl with X509_VERIFY_PARAM_set1_host(). LibreSSL 2.6.4 and earlier do not provide the necessary APIs, https://github.com/libressl-portable/portable/issues/381 In addition _ssl.o does actually compile. The issue appears that _ssl is appearing in "missing", "self.failed", "self.failed_on_import" setup.py 366 if any('_ssl' in l 367 for l in (missing, self.failed, self.failed_on_import)): 368 print() 369 print("Could not build the ssl module!") 370 print("Python requires an OpenSSL 1.0.2 or 1.1 compatible " 371 "libssl with X509_VERIFY_PARAM_set1_host().") 372 print("LibreSSL 2.6.4 and earlier do not provide the necessary " 373 "APIs, https://github.com/libressl-portable/portable/issues/381") 374 print() I havent had time to go through the code yet to find out where the error is gettng flagged and if its a associated with how I have compiled openssl i.e. I need a compilation flag to enabled X509_VERIFY_PARAM_set1_host() support. ---------- assignee: christian.heimes components: SSL messages: 320947 nosy: christian.heimes, si...@simonfoley.net priority: normal severity: normal status: open title: Python 3.7.0 wont compile with SSL Support 1.1.0 > alledged missing X509_VERIFY_PARAM_set1_host() support versions: Python 3.7 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34028> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com