From 5dd12a5978389ec3dfa7063bbe9a9763b1294027 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Sun, 6 Jan 2013 15:25:36 +0100 Subject: Fix returning uninitialized variable (issue #8109). Found by Christian with Coverity. --- Modules/_ssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/_ssl.c b/Modules/_ssl.c index 16fa076..0de541c 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); -- cgit v0.12