From: Antoine Pitrou Date: Sun, 6 Jan 2013 14:25:36 +0000 (+0100) Subject: Fix returning uninitialized variable (issue #8109). X-Git-Tag: v3.4.0a1~1687 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5dd12a5978389ec3dfa7063bbe9a9763b1294027;p=python Fix returning uninitialized variable (issue #8109). Found by Christian with Coverity. --- diff --git a/Modules/_ssl.c b/Modules/_ssl.c index 16fa0763bf..0de541ce7a 100644 --- a/Modules/_ssl.c +++ b/Modules/_ssl.c @@ -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);