BUG/MINOR: ssl: Duplicate ocsp update mode when dup'ing ckch
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Wed, 7 Feb 2024 15:38:40 +0000 (16:38 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 14 Feb 2024 15:07:52 +0000 (16:07 +0100)
commit58c3469b719589201e31c52612985a886a5c67a7
treeca30c507f9db5b031e8c1afcc3476ce6fd85b4e1
parent6ff39f3248f20b327792c1bc1d3ed680a6b93890
BUG/MINOR: ssl: Duplicate ocsp update mode when dup'ing ckch

When calling ckchs_dup (during a "set ssl cert" CLI command), if the
modified store had OCSP auto update enabled then the new certificate
would not keep the previous update mode and would not appear in the auto
update list.

This patch can be backported to 2.8.

(cherry picked from commit 1fda0a52029ba5fe5ea4e31da7a71ba94b217170)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
src/ssl_ckch.c