]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: ssl: ckch_conf_parse() uses -1/0/1 for off/default/on
authorWilliam Lallemand <wlallemand@haproxy.com>
Tue, 30 Apr 2024 19:38:16 +0000 (21:38 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Fri, 17 May 2024 15:35:51 +0000 (17:35 +0200)
commitc5a665f5d828b8fc80cda2cde614acc70503faaf
treec8911a4240ae5ebbb0664005eb01882b59dff561
parent2b8880e395fef54066579ed1bc23fcbf59bf3306
MEDIUM: ssl: ckch_conf_parse() uses -1/0/1 for off/default/on

ckch_conf_parse() now set -1 for a off value and 1 for a on value.
This allow to detect when a value is the default since the struct are memset
to 0.
src/ssl_ckch.c