diff --git a/Changes b/Changes index 2a219b0b8..35a58749b 100644 --- a/Changes +++ b/Changes @@ -2322,3 +2322,5 @@ support through VERSION, before or after registration (#4064). - Added patch from nenotopia to use more modern LUSERS numerics (#3967). - Fix small error in oper block documentation, reported by Stealth (#2318). +- Config parser failed to check for invalid set::ssl options, reported + and patch by fbi (#4035). diff --git a/src/s_conf.c b/src/s_conf.c index c27a054c6..e8674071e 100644 --- a/src/s_conf.c +++ b/src/s_conf.c @@ -8562,8 +8562,14 @@ int _test_set(ConfigFile *conf, ConfigEntry *ce) ceppp->ce_varlinenum, ceppp->ce_varname); errors ++; } - } - + } + else + { + config_error("%s:%i: unknown directive set::ssl::%s", + cepp->ce_fileptr->cf_filename, cepp->ce_varlinenum, + cepp->ce_varname); + errors++; + } } #endif /* USE_SSL */ }