]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: ssl: error with ssl-f-use when no "crt"
authorWilliam Lallemand <wlallemand@haproxy.com>
Mon, 16 Feb 2026 17:41:40 +0000 (18:41 +0100)
committerWilliam Lallemand <wlallemand@haproxy.com>
Mon, 16 Feb 2026 17:41:40 +0000 (18:41 +0100)
commit1274c21a42aef878cb6ba1941982827fadb5c501
tree8cce5606e9e4b89c1e86ef5aad3f48584739fa4e
parent0016d45a9cea4c0d601a4409448f348414575ee3
BUG/MINOR: ssl: error with ssl-f-use when no "crt"

ssl-f-use lines tries to load a crt file, but the "crt" keyword is not
mandatory. That could lead to crtlist_load_crt() being called with a
NULL path, and trying to do a stat.

In this particular case we don't need to try anything and it's better to
leave with an actual error.

Must be backported as far as 3.2.
src/ssl_crtlist.c