mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Fix returning uninitialized variable (issue #8109).
Found by Christian with Coverity.
This commit is contained in:
parent
58ddc9d743
commit
5dd12a5978
1 changed files with 1 additions and 1 deletions
|
|
@ -2400,7 +2400,7 @@ _servername_callback(SSL *s, int *al, void *args)
|
|||
/* remove race condition in this the call back while if removing the
|
||||
* callback is in progress */
|
||||
PyGILState_Release(gstate);
|
||||
return ret;
|
||||
return SSL_TLSEXT_ERR_OK;
|
||||
}
|
||||
|
||||
ssl = SSL_get_app_data(s);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue