Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5dd12a5

Browse files
committed
Fix returning uninitialized variable (issue #8109).
Found by Christian with Coverity.
1 parent 58ddc9d commit 5dd12a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/_ssl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2400,7 +2400,7 @@ _servername_callback(SSL *s, int *al, void *args)
24002400
/* remove race condition in this the call back while if removing the
24012401
* callback is in progress */
24022402
PyGILState_Release(gstate);
2403-
return ret;
2403+
return SSL_TLSEXT_ERR_OK;
24042404
}
24052405

24062406
ssl = SSL_get_app_data(s);

0 commit comments

Comments
 (0)