BUG/MINOR: ssl: load correctly @system-ca when ca-base is define
authorWilliam Lallemand <wlallemand@haproxy.com>
Mon, 23 Oct 2023 19:54:23 +0000 (21:54 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Mon, 23 Oct 2023 20:03:55 +0000 (22:03 +0200)
commitb12613f0acc9e542baa4cb9626ef7f6693b984a7
tree3a5fc321fe9b0b32bd66dc502e2be53163cdbbb0
parent1428e7b66d1d8d727adf67c67cedfb93ef154c02
BUG/MINOR: ssl: load correctly @system-ca when ca-base is define

The configuration parser still adds the 'ca-base' directory when loading
the @system-ca, preventing it to be loaded correctly.

This patch fixes the problem by not adding the ca-base when a file
starts by '@'.

Fix issue #2313.

Must be backported as far as 2.6.
src/cfgparse-ssl.c