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 gik
Recipients christian.heimes, gik
Date 2016-12-21.20:38:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1482352694.75.0.509687478038.issue28695@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2016-12-21 20:38:14giksetrecipients: + gik, christian.heimes
2016-12-21 20:38:14giksetmessageid: <1482352694.75.0.509687478038.issue28695@psf.upfronthosting.co.za>
2016-12-21 20:38:14giklinkissue28695 messages
2016-12-21 20:38:14gikcreate