From d1653bb1a58e4ecb762a6222e58ebf192b0baa06 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ond=C5=99ej=20Kuzn=C3=ADk?= <ondra@openldap.org>
Date: Tue, 19 Mar 2019 16:44:30 +0000
Subject: [PATCH] ITS#8980 Actually return the computed status

---
 libraries/libldap/tls_o.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libraries/libldap/tls_o.c b/libraries/libldap/tls_o.c
index b10121d3ae..056dafc9a7 100644
--- a/libraries/libldap/tls_o.c
+++ b/libraries/libldap/tls_o.c
@@ -465,6 +465,7 @@ tlso_session_connect( LDAP *ld, tls_session *sess )
 		}
 	}
 #endif /* LDAP_USE_NON_BLOCKING_TLS */
+	return rc;
 }
 
 static int
-- 
GitLab