commit | 1d0206e71f2c1d63b8323f64b51f2bbd64e078fd | [log] [tgz] |
---|---|---|
author | William Dauchy <w.dauchy@criteo.com> | Fri Oct 02 15:27:20 2020 +0200 |
committer | William Lallemand <wlallemand@haproxy.org> | Fri Oct 02 15:43:01 2020 +0200 |
tree | 03dafdfa7be6b7b9cd39a7b966e5f40ce6e8eb97 | |
parent | b9f6accc9eee2cd1bd6d63b23e818d6edf2bb245 [diff] |
MINOR: ssl: remove uneeded check in crtlist_parse_file this condition is never true as we either break or goto error, so those two lines could be removed in the current state of the code. this is fixing github issue #862 Signed-off-by: William Dauchy <w.dauchy@criteo.com>
diff --git a/src/ssl_crtlist.c b/src/ssl_crtlist.c index 3c94bcf..3f09c86 100644 --- a/src/ssl_crtlist.c +++ b/src/ssl_crtlist.c
@@ -599,9 +599,6 @@ } } } - if (cfgerr & ERR_CODE) - goto error; - entry = NULL; }