mirror of
https://github.com/haproxy/haproxy.git
synced 2026-05-18 03:49:25 -04:00
BUG/MINOR: ssl/cli: "show ssl crt-list" lacks client-sigals
b6ae2aafde ("MINOR: ssl: allow to change the signature algorithm for
client authentication") implemented the client-sigals keyword in the
crt-list but never the dump of the keyword over the CLI.
Must be backported as far as 2.8.
This commit is contained in:
parent
561319bd1c
commit
037d2e5498
1 changed files with 6 additions and 0 deletions
|
|
@ -960,6 +960,12 @@ static void dump_crtlist_conf(struct buffer *buf, const struct ssl_bind_conf *co
|
|||
space++;
|
||||
}
|
||||
|
||||
if (conf->client_sigalgs) {
|
||||
if (space) chunk_appendf(buf, " ");
|
||||
chunk_appendf(buf, "client-sigalgs %s", conf->client_sigalgs);
|
||||
space++;
|
||||
}
|
||||
|
||||
/* the crt-lists only support ssl-min-ver and ssl-max-ver */
|
||||
if (conf->ssl_methods_cfg.min) {
|
||||
if (space) chunk_appendf(buf, " ");
|
||||
|
|
|
|||
Loading…
Reference in a new issue