]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: ech: propagate error from load_echkeys()
authorWilliam Lallemand <wlallemand@haproxy.com>
Thu, 30 Jul 2026 13:41:12 +0000 (13:41 +0000)
committerWilliam Lallemand <wlallemand@haproxy.com>
Thu, 30 Jul 2026 16:06:04 +0000 (16:06 +0000)
commit498dc1eceb44dfef22f6d5c0d1d2ca84b5745aca
treee443d97816b6e411d2b44ca240f889dc48502fd0
parent0cec4be8cf833ccaccbfa947d43c053b42b71764
BUG/MINOR: ech: propagate error from load_echkeys()

load_echkeys() was not emitting any error messagw, so a failed load only
ever produced "failed to load ECH keys". Add a char **err parameter to
the function so it can emit TLS library errors or system errors.

This should be backported to 3.3 and 3.4.
include/haproxy/ech.h
src/ech.c
src/quic_ssl.c
src/ssl_sock.c