Commit 5dd12a59 authored by Antoine Pitrou's avatar Antoine Pitrou

Fix returning uninitialized variable (issue #8109).

Found by Christian with Coverity.
parent 58ddc9d7
...@@ -2400,7 +2400,7 @@ _servername_callback(SSL *s, int *al, void *args) ...@@ -2400,7 +2400,7 @@ _servername_callback(SSL *s, int *al, void *args)
/* remove race condition in this the call back while if removing the /* remove race condition in this the call back while if removing the
* callback is in progress */ * callback is in progress */
PyGILState_Release(gstate); PyGILState_Release(gstate);
return ret; return SSL_TLSEXT_ERR_OK;
} }
ssl = SSL_get_app_data(s); ssl = SSL_get_app_data(s);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment