Fix returning uninitialized variable (issue #8109).

Found by Christian with Coverity.
This commit is contained in:
Antoine Pitrou 2013-01-06 15:25:36 +01:00
parent 58ddc9d743
commit 5dd12a5978

View file

@ -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);