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.
This commit is contained in:
William Lallemand 2023-08-21 15:22:57 +02:00
parent 8c004153e5
commit 3fde27d980
1 changed files with 1 additions and 1 deletions

View 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;