projects
/
haproxy-3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7467cd
)
BUG/MINOR: ssl: Duplicate ocsp update mode when dup'ing ckch
author
Remi Tricot-Le Breton
<rlebreton@haproxy.com>
Wed, 7 Feb 2024 15:38:40 +0000
(16:38 +0100)
committer
William Lallemand
<wlallemand@haproxy.com>
Wed, 7 Feb 2024 16:09:34 +0000
(17:09 +0100)
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.
src/ssl_ckch.c
patch
|
blob
|
history
diff --git
a/src/ssl_ckch.c
b/src/ssl_ckch.c
index
94af362
..
de37bfb
100644
(file)
--- a/
src/ssl_ckch.c
+++ b/
src/ssl_ckch.c
@@
-793,6
+793,8
@@
struct ckch_data *ssl_sock_copy_cert_key_and_chain(struct ckch_data *src,
dst->ocsp_cid = OCSP_CERTID_dup(src->ocsp_cid);
+ dst->ocsp_update_mode = src->ocsp_update_mode;
+
return dst;
error: