CLEANUP: ssl/cli: remove unused code in dump_crtlist_conf

This code was never used because space is never define before:

    if (space) chunk_appendf(buf, " ");

Should fix issue #2571.
This commit is contained in:
William Lallemand 2024-05-21 10:58:09 +02:00
parent d236b43da7
commit 140078c19d

View File

@ -854,7 +854,6 @@ static void dump_crtlist_conf(struct buffer *buf, const struct ssl_bind_conf *co
char *ptr = conf->npn_str;
int comma = 0;
if (space) chunk_appendf(buf, " ");
chunk_appendf(buf, "npn ");
while (len) {
unsigned short size;