BUG/MINOR: ssl/crt-list: warn when a line is malformated

Display a warning when some text exists between the filename and the
options. This part is completely ignored so if there are filters here,
they were never parsed.

This could be backported in every versions. In the older versions, the
parsing was done in ssl_sock_load_cert_list_file() in ssl_sock.c.

(cherry picked from commit d85227fca20a5c793857c1632283ef4a2120285a)
Signed-off-by: Willy Tarreau <w@1wt.eu>
(cherry picked from commit e534f74a85d337c3957865f5abe54cacc0ed4154)
Signed-off-by: Willy Tarreau <w@1wt.eu>
(cherry picked from commit 49a324dfd2a3ec08d8af8682c28fc7037ac0bdc6)
Signed-off-by: Willy Tarreau <w@1wt.eu>
(cherry picked from commit d4c954d5b2d3a7147de226381fa20f77a9ad1d0d)
Signed-off-by: Willy Tarreau <w@1wt.eu>
diff --git a/src/ssl_crtlist.c b/src/ssl_crtlist.c
index d03c993..afb7aba 100644
--- a/src/ssl_crtlist.c
+++ b/src/ssl_crtlist.c
@@ -379,6 +379,11 @@
 	*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!");