BUG/MINOR: ssl: ssl-(min|max)-ver parameter not duplicated for bundles in crt-list
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Tue, 14 Mar 2023 16:22:24 +0000 (17:22 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Fri, 31 Mar 2023 07:11:51 +0000 (09:11 +0200)
commit6549f53fb60f5870c447447105a26af67a1cc996
tree9d7f970bf511904f836be801a2c40a652cf19a70
parentd32c8e3ccbd18d200c57458c3023643cdc971ef1
BUG/MINOR: ssl: ssl-(min|max)-ver parameter not duplicated for bundles in crt-list

If a bundle is used in a crt-list, the ssl-min-ver and ssl-max-ver
options were not taken into account in entries other than the first one
because the corresponding fields in the ssl_bind_conf structure were not
copied in crtlist_dup_ssl_conf.

This should fix GitHub issue #2069.
This patch should be backported up to 2.4.
src/ssl_crtlist.c