]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: ssl: prevent multiple 'crt' on the same ssl-f-use line
authorWilliam Lallemand <wlallemand@haproxy.com>
Fri, 9 May 2025 16:52:09 +0000 (18:52 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Fri, 9 May 2025 16:52:09 +0000 (18:52 +0200)
commit9ce3fb35a234dd268738c6e8e1f29290dcf006e1
tree9f2d9e7bf84276ec664bf62d48ab27fd087a7e7c
parent0c4abf5a2280152f30a090902ac8ac9e288ba21f
BUG/MINOR: ssl: prevent multiple 'crt' on the same ssl-f-use line

The 'ssl-f-use' implementation doesn't prevent to have multiple time the
'crt' keyword, which overwrite the previous value. Letting users think
that is it possible to use multiple certificates on the same line, which
is not the case.

This patch emits an alert when setting the 'crt' keyword multiple times
on the same ssl-f-use line.

Should fix issue #2966.

No backport needed.
src/cfgparse-ssl.c