]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: cfgcond: always set the error string on awslc_api checks
authorWilly Tarreau <w@1wt.eu>
Fri, 3 Apr 2026 06:58:49 +0000 (08:58 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 3 Apr 2026 06:58:49 +0000 (08:58 +0200)
commitf9ba750fd921f6696483c23c8b3cadb072f9e86f
treec0daef3ca32a53ab31e418f5ffc4f9c2a819d8bc
parentbf04e64f2cd47e2f2ff3376d7313956dc8e9dee0
BUG/MINOR: cfgcond: always set the error string on awslc_api checks

Using awslc_api_before() with an invalid argument results in "(null)"
appearing in the error message due to -1 being returned without the
error message being filled. Let's always fill the error message on error.

This was introduced in 3.3 with commit 3d15c07ed0 ("MINOR: cfgcond: add
"awslc_api_atleast" and "awslc_api_before""), and this fix must be
backported to 3.3.
src/cfgcond.c