From: William Lallemand Date: Fri, 1 Apr 2022 21:36:05 +0000 (+0200) Subject: BUG/MINOR: ssl: continue upon error when opening a directory w/ ca-file X-Git-Tag: v2.6-dev5~56 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4f6ca322172457ab0c5578ca5f9c7c948527d5fc;p=thirdparty%2Fhaproxy.git BUG/MINOR: ssl: continue upon error when opening a directory w/ ca-file Previous patch was accidentaly breaking upon an error when itarating through a CA directory. This is not the expected behavior, the function must start processing the other files after the warning. --- diff --git a/src/ssl_ckch.c b/src/ssl_ckch.c index f1fba33b46..242dfb2621 100644 --- a/src/ssl_ckch.c +++ b/src/ssl_ckch.c @@ -1169,7 +1169,6 @@ scandir_err: BIO_free(in); free(de); ha_warning("ca-file: '%s' couldn't load '%s'\n", path, trash.area); - break; } free(de_list);