Skip to content

Commit

Permalink
S2S-TLS: Verify the TLS certificates by default
Browse files Browse the repository at this point in the history
This is already mentioned as the default in the manual page and the
sample configuration file, but was actually not enabled in the code!
  • Loading branch information
alexbarton committed Mar 23, 2024
1 parent 663972c commit 180e2ec
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/ngircd/conf.c
Expand Up @@ -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- */

0 comments on commit 180e2ec

Please sign in to comment.