]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/conf.c
S2S-TLS: Verify the TLS certificates by default
[ngircd-alex.git] / src / ngircd / conf.c
index 86a622475c7d0a54dee7ac5b99be9d087271085c..441b8f6786f6780451e3fec9f62052792d533eaf 100644 (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- */