1
0
mirror of https://github.com/osmarks/ngircd.git synced 2024-10-27 20:36:18 +00:00

S2S-TLS: Verify the TLS certificates by default

This is already mentioned as the default in the manual page and the
sample configuration file, but was actually not enabled in the code!
This commit is contained in:
Alexander Barton 2024-01-06 15:55:54 +01:00
parent 663972c88d
commit 180e2ec135

View File

@ -2338,6 +2338,11 @@ Init_Server_Struct( CONF_SERVER *Server )
Proc_InitStruct(&Server->res_stat);
Server->conn_id = NONE;
memset(&Server->bind_addr, 0, sizeof(Server->bind_addr));
#ifdef SSL_SUPPORT
/* Verify SSL connections by default! */
Server->SSLVerify = true;
#endif
}
/* -eof- */