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 <[email protected]>
---
 src/ssl_crtlist.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/ssl_crtlist.c b/src/ssl_crtlist.c
index 3c94bcf99..3f09c8673 100644
--- a/src/ssl_crtlist.c
+++ b/src/ssl_crtlist.c
@@ -599,9 +599,6 @@ int crtlist_parse_file(char *file, struct bind_conf 
*bind_conf, struct proxy *cu
                                }
                        }
                }
-               if (cfgerr & ERR_CODE)
-                       goto error;
-
                entry = NULL;
        }
 
-- 
2.28.0


Reply via email to