From: Florian Westphal Date: Sun, 17 May 2009 19:27:27 +0000 (+0200) Subject: SSL/TLS: fix error handling when ssl ctx init for outgoing server link fails X-Git-Tag: rel-15-rc1~49 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8e2c5816eec58a5de63399a54773dda6a5729c36;p=ngircd SSL/TLS: fix error handling when ssl ctx init for outgoing server link fails --- diff --git a/src/ngircd/conn.c b/src/ngircd/conn.c index c6095a31..4c03877a 100644 --- a/src/ngircd/conn.c +++ b/src/ngircd/conn.c @@ -1722,6 +1722,7 @@ New_Server( int Server , ng_ipaddr_t *dest) Conn_Close( new_sock, "Could not initialize SSL for outgoing connection", NULL, false ); Init_Conn_Struct( new_sock ); Conf_Server[Server].conn_id = NONE; + return; } #endif NumConnections++;