From: William Lallemand Date: Mon, 21 Aug 2023 13:22:57 +0000 (+0200) Subject: BUG/MINOR: quic: ssl_quic_initial_ctx() uses error count not error code X-Git-Tag: v2.9-dev4~38 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3fde27d980f2f9a93a69889e5fcac5fad7edc632;p=thirdparty%2Fhaproxy.git BUG/MINOR: quic: ssl_quic_initial_ctx() uses error count not error code ssl_quic_initial_ctx() is supposed to use error count and not errror code. Bug was introduced by 557706b3 ("MINOR: quic: Initialize TLS contexts for QUIC openssl wrapper"). No backport needed. --- diff --git a/src/quic_ssl.c b/src/quic_ssl.c index 98067f67ba..7043c8c62c 100644 --- a/src/quic_ssl.c +++ b/src/quic_ssl.c @@ -418,7 +418,7 @@ int ssl_quic_initial_ctx(struct bind_conf *bind_conf) #endif #ifdef USE_QUIC_OPENSSL_COMPAT if (!quic_tls_compat_init(bind_conf, ctx)) - cfgerr |= ERR_ALERT | ERR_FATAL; + cfgerr++; #endif return cfgerr;