Skip to content

Commit

Permalink
Correct return type in Modules/_ssl.c::sslmodule_legacy (pythonGH-23609)
Browse files Browse the repository at this point in the history
  • Loading branch information
pablogsal committed Dec 2, 2020
1 parent 46bd5ed commit 93a0ef7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/_ssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -6416,7 +6416,7 @@ sslmodule_legacy(PyObject *module)
#ifdef HAVE_OPENSSL_CRYPTO_LOCK
/* note that this will start threading if not already started */
if (!_setup_ssl_threads()) {
return NULL;
return 0;
}
#elif OPENSSL_VERSION_1_1
/* OpenSSL 1.1.0 builtin thread support is enabled */
Expand Down

0 comments on commit 93a0ef7

Please sign in to comment.