]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUG/MINOR: quic: ssl_quic_initial_ctx() uses error count not error code
authorWilliam Lallemand <wlallemand@haproxy.org>
Mon, 21 Aug 2023 13:22:57 +0000 (15:22 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Mon, 21 Aug 2023 13:35:17 +0000 (15:35 +0200)
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.

src/quic_ssl.c

index 98067f67baa158854ba5a60bb7844f3e5a5a8f13..7043c8c62c8d5097dd42db59e8ecf35fde472f8a 100644 (file)
@@ -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;