diff options
| author | Florian Westphal <fw@strlen.de> | 2009-05-17 21:27:27 +0200 |
|---|---|---|
| committer | Florian Westphal <fw@strlen.de> | 2009-05-17 21:27:27 +0200 |
| commit | 8e2c5816eec58a5de63399a54773dda6a5729c36 (patch) | |
| tree | 5b60b6217ba133d66d7689b99077adb7a73d42ec /src | |
| parent | f31c3a3aa283bd6a34386e3c2fcdcad9ab36e5c4 (diff) | |
| download | ngircd-8e2c5816eec58a5de63399a54773dda6a5729c36.tar.gz ngircd-8e2c5816eec58a5de63399a54773dda6a5729c36.zip | |
SSL/TLS: fix error handling when ssl ctx init for outgoing server link fails
Diffstat (limited to 'src')
| -rw-r--r-- | src/ngircd/conn.c | 1 |
1 files changed, 1 insertions, 0 deletions
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++; |