BUG/MINOR: ssl/crt-list: exit on warning out of crtlist_parse_line()
We should not exits on error out of the crtlist_parse_line() function.
The cfgerr error must be checked with the ERR_CODE mask.
Must be backported in 2.2.
diff --git a/src/ssl_crtlist.c b/src/ssl_crtlist.c
index f7007ef..fd141fc 100644
--- a/src/ssl_crtlist.c
+++ b/src/ssl_crtlist.c
@@ -495,7 +495,7 @@
if (*(end - 1) == '\n')
*(end - 1) = '\0'; /* line parser mustn't receive any \n */
cfgerr |= crtlist_parse_line(thisline, &crt_path, entry, file, linenum, err);
- if (cfgerr)
+ if (cfgerr & ERR_CODE)
goto error;
/* empty line */