]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUG/MINOR: ssl: continue upon error when opening a directory w/ ca-file
authorWilliam Lallemand <wlallemand@haproxy.org>
Fri, 1 Apr 2022 21:36:05 +0000 (23:36 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Fri, 1 Apr 2022 21:52:50 +0000 (23:52 +0200)
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.

src/ssl_ckch.c

index f1fba33b464df213ff3ce9f9a83da47a02bea0d2..242dfb2621f7b676fc2a1b8b2cbe45aa631aa10b 100644 (file)
@@ -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);