mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-15 21:59:41 -04:00
MINOR: ssl_crtlist: dump "no-alpn" on "show crtlist" when "no-alpn" was set
Instead of dumping "alpn " better show "no-alpn" as configured.
This commit is contained in:
parent
a2a095536a
commit
de85de69ec
1 changed files with 4 additions and 1 deletions
|
|
@ -827,7 +827,10 @@ static void dump_crtlist_sslconf(struct buffer *buf, const struct ssl_bind_conf
|
|||
int comma = 0;
|
||||
|
||||
if (space) chunk_appendf(buf, " ");
|
||||
chunk_appendf(buf, "alpn ");
|
||||
if (len)
|
||||
chunk_appendf(buf, "alpn ");
|
||||
else
|
||||
chunk_appendf(buf, "no-alpn");
|
||||
while (len) {
|
||||
unsigned short size;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue