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:
5ab54c6
)
MINOR: ssl: Add ocsp-update information to "show ssl crt-list"
author
Remi Tricot-Le Breton
<rlebreton@haproxy.com>
Thu, 2 Mar 2023 14:49:52 +0000
(15:49 +0100)
committer
William Lallemand
<wlallemand@haproxy.org>
Thu, 2 Mar 2023 14:57:55 +0000
(15:57 +0100)
The "show ssl crt-list <list>" CLI command did not manage the new
ocsp-update option yet.
src/ssl_crtlist.c
patch
|
blob
|
history
diff --git
a/src/ssl_crtlist.c
b/src/ssl_crtlist.c
index
aa7fdb2
..
e5a5c24
100644
(file)
--- a/
src/ssl_crtlist.c
+++ b/
src/ssl_crtlist.c
@@
-909,6
+909,13
@@
static void dump_crtlist_sslconf(struct buffer *buf, const struct ssl_bind_conf
space++;
}
+ if (conf->ocsp_update != SSL_SOCK_OCSP_UPDATE_DFLT) {
+ if (space) chunk_appendf(buf, " ");
+ chunk_appendf(buf, "ocsp-update %s",
+ conf->ocsp_update == SSL_SOCK_OCSP_UPDATE_OFF ? "off" : "on");
+ space++;
+ }
+
chunk_appendf(buf, "]");
return;