diff --git a/src/ssl_crtlist.c b/src/ssl_crtlist.c index 825f380475..31428d63b5 100644 --- a/src/ssl_crtlist.c +++ b/src/ssl_crtlist.c @@ -403,6 +403,11 @@ int crtlist_parse_line(char *line, char **crt_path, struct crtlist_entry *entry, *crt_path = args[0]; if (ssl_b) { + if (ssl_b > 1) { + memprintf(err, "parsing [%s:%d]: malformated line, filters can't be between filename and options!", file, linenum); + cfgerr |= ERR_WARN; + } + ssl_conf = calloc(1, sizeof *ssl_conf); if (!ssl_conf) { memprintf(err, "not enough memory!");