mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-21 22:01:31 +02: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
@ -827,7 +827,10 @@ static void dump_crtlist_sslconf(struct buffer *buf, const struct ssl_bind_conf
|
|||||||
int comma = 0;
|
int comma = 0;
|
||||||
|
|
||||||
if (space) chunk_appendf(buf, " ");
|
if (space) chunk_appendf(buf, " ");
|
||||||
chunk_appendf(buf, "alpn ");
|
if (len)
|
||||||
|
chunk_appendf(buf, "alpn ");
|
||||||
|
else
|
||||||
|
chunk_appendf(buf, "no-alpn");
|
||||||
while (len) {
|
while (len) {
|
||||||
unsigned short size;
|
unsigned short size;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user