mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-01-18 15:20:59 +01:00
MINOR: ssl: Add ocsp-update information to "show ssl crt-list"
The "show ssl crt-list <list>" CLI command did not manage the new ocsp-update option yet.
This commit is contained in:
parent
5ab54c61b0
commit
ca0c84a509
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user