From 8e2c5816eec58a5de63399a54773dda6a5729c36 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Sun, 17 May 2009 21:27:27 +0200 Subject: [PATCH] SSL/TLS: fix error handling when ssl ctx init for outgoing server link fails --- src/ngircd/conn.c | 1 + 1 file changed, 1 insertion(+) 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++;