From 140078c19dbc63206d396d9d41dcb5a7bbc71d19 Mon Sep 17 00:00:00 2001 From: William Lallemand Date: Tue, 21 May 2024 10:58:09 +0200 Subject: [PATCH] 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. --- src/ssl_crtlist.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ssl_crtlist.c b/src/ssl_crtlist.c index d8e100318..d1c7ef992 100644 --- a/src/ssl_crtlist.c +++ b/src/ssl_crtlist.c @@ -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;