mirror of
https://github.com/osmarks/ngircd.git
synced 2024-12-13 10:20:28 +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:
parent
663972c88d
commit
180e2ec135
@ -2338,6 +2338,11 @@ Init_Server_Struct( CONF_SERVER *Server )
|
|||||||
Proc_InitStruct(&Server->res_stat);
|
Proc_InitStruct(&Server->res_stat);
|
||||||
Server->conn_id = NONE;
|
Server->conn_id = NONE;
|
||||||
memset(&Server->bind_addr, 0, sizeof(Server->bind_addr));
|
memset(&Server->bind_addr, 0, sizeof(Server->bind_addr));
|
||||||
|
|
||||||
|
#ifdef SSL_SUPPORT
|
||||||
|
/* Verify SSL connections by default! */
|
||||||
|
Server->SSLVerify = true;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/* -eof- */
|
/* -eof- */
|
||||||
|
Loading…
Reference in New Issue
Block a user