We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46bd5ed commit 93a0ef7Copy full SHA for 93a0ef7
1 file changed
Modules/_ssl.c
@@ -6416,7 +6416,7 @@ sslmodule_legacy(PyObject *module)
6416
#ifdef HAVE_OPENSSL_CRYPTO_LOCK
6417
/* note that this will start threading if not already started */
6418
if (!_setup_ssl_threads()) {
6419
- return NULL;
+ return 0;
6420
}
6421
#elif OPENSSL_VERSION_1_1
6422
/* OpenSSL 1.1.0 builtin thread support is enabled */
0 commit comments