commit | 06ce84a10079388e95e5959dbcb50fcc563c702b | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.com> | Fri Nov 20 15:36:13 2020 +0100 |
committer | William Lallemand <wlallemand@haproxy.org> | Fri Nov 20 18:38:56 2020 +0100 |
tree | 478f2894b787ffd0854a8ed107903dc264aebd3e | |
parent | 86c2dd60f1a0b8332a6ffc6e95dca27470fe44f7 [diff] |
BUG/MEDIUM: ssl: error when no certificate are found When a non-existing file was specified in the configuration, haproxy does not exits with an error which is not normal. This bug was introduced by dfa93be ("MEDIUM: ssl: emulate multi-cert bundles loading in standard loading") which does nothing if the stat failed. This patch introduce a "found" variable which is checked at the end of the function so we exit with an error if no find were found. Must be backported to 2.3.