From: William Lallemand Date: Tue, 21 May 2024 08:58:09 +0000 (+0200) Subject: CLEANUP: ssl/cli: remove unused code in dump_crtlist_conf X-Git-Tag: v3.0-dev13~66 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=140078c19dbc63206d396d9d41dcb5a7bbc71d19;p=thirdparty%2Fhaproxy.git 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. --- diff --git a/src/ssl_crtlist.c b/src/ssl_crtlist.c index d8e100318a..d1c7ef992c 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;