diff --git a/ircd/newconf.c b/ircd/newconf.c index 47a5924c..c4c9ee08 100644 --- a/ircd/newconf.c +++ b/ircd/newconf.c @@ -1305,6 +1305,13 @@ conf_end_connect(struct TopConf *tc) return 0; } + if((yy_server->flags & SERVER_SSL) && EmptyString(yy_server->certfp)) + { + conf_report_error("Ignoring connect block for %s -- no fingerprint provided for SSL connection.", + yy_server->name); + return 0; + } + if(EmptyString(yy_server->connect_host) && GET_SS_FAMILY(&yy_server->connect4) != AF_INET #ifdef RB_IPV6