1
0
mirror of https://github.com/osmarks/ngircd.git synced 2024-12-12 09:50:29 +00:00

SSL/TLS: fix error handling when ssl ctx init for outgoing server link fails

This commit is contained in:
Florian Westphal 2009-05-17 21:27:27 +02:00
parent f31c3a3aa2
commit 8e2c5816ee

View File

@ -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++;