Gennady Kovalev added the comment: Why not to call OPENSSL_config() to use openssl.cnf?
--- ./Modules/_ssl.c.orig 2016-12-21 23:30:36.277184891 +0300 +++ ./Modules/_ssl.c 2016-12-21 23:35:18.488508435 +0300 @@ -4514,6 +4514,8 @@ PySocketModule = *socket_api; /* Init OpenSSL */ + OPENSSL_config(NULL); + SSL_load_error_strings(); SSL_library_init(); #ifdef WITH_THREAD (Patch for example, for 3.5.2 source, not try to compile) ---------- nosy: +gik _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28695> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com