]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ssl: split config and runtime variable for ssl-{min,max}-ver
authorWilliam Lallemand <wlallemand@haproxy.com>
Wed, 20 May 2020 14:49:02 +0000 (16:49 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Wed, 20 May 2020 14:49:02 +0000 (16:49 +0200)
commit8177ad989573586ab8ef1d9bdf63ac4cdc5abc27
treebb43b9bf3e834e00ac5f4701c85ad012543bb53c
parent13dd45178e24504504a02d89d9a81d4b80c63c93
MINOR: ssl: split config and runtime variable for ssl-{min,max}-ver

In the CLI command 'show ssl crt-list', the ssl-min-ver and the
ssl-min-max arguments were always displayed because the dumped versions
were the actual version computed and used by haproxy, instead of the
version found in the configuration.

To fix the problem, this patch separates the variables to have one with
the configured version, and one with the actual version used. The dump
only shows the configured version.
include/types/listener.h
reg-tests/ssl/add_ssl_crt-list.vtc
src/cfgparse-ssl.c
src/ssl_crtlist.c