mirror of
				https://github.com/osmarks/ngircd.git
				synced 2025-10-31 05:52:59 +00:00 
			
		
		
		
	SSL/TLS: fix error handling when ssl ctx init for outgoing server link fails
This commit is contained in:
		| @@ -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 ); | 		Conn_Close( new_sock, "Could not initialize SSL for outgoing connection", NULL, false ); | ||||||
| 		Init_Conn_Struct( new_sock ); | 		Init_Conn_Struct( new_sock ); | ||||||
| 		Conf_Server[Server].conn_id = NONE; | 		Conf_Server[Server].conn_id = NONE; | ||||||
|  | 		return; | ||||||
| 	} | 	} | ||||||
| #endif | #endif | ||||||
| 	NumConnections++; | 	NumConnections++; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Florian Westphal
					Florian Westphal