From: Hugo Landau Date: Thu, 28 Mar 2024 09:15:21 +0000 (+0000) Subject: QUIC APL: Fix default stream creation on server side X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45b5e423a6b84aaae1700136d506c986eebbc1f0;p=thirdparty%2Fopenssl.git QUIC APL: Fix default stream creation on server side Reviewed-by: Neil Horman Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/23995) --- diff --git a/ssl/quic/quic_impl.c b/ssl/quic/quic_impl.c index 1baee34a1e5..c1dcc1a661d 100644 --- a/ssl/quic/quic_impl.c +++ b/ssl/quic/quic_impl.c @@ -291,7 +291,7 @@ static int ossl_unused expect_quic_with_stream_lock(const SSL *s, int remote_ini /* ossl_quic_do_handshake raised error here */ goto err; - if (remote_init == ctx->qc->as_server) { + if (remote_init == 0) { if (!qc_try_create_default_xso_for_write(ctx)) goto err; } else {