mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-21 11:03:32 +02: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:
committed by
William Lallemand
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;
|
||||
|
||||
Reference in New Issue
Block a user