mirror of
https://github.com/osmarks/ngircd.git
synced 2024-12-13 02:10:27 +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);
|
||||
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- */
|
||||
|
Loading…
Reference in New Issue
Block a user