]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
QUIC APL: Fix default stream creation on server side
authorHugo Landau <hlandau@openssl.org>
Thu, 28 Mar 2024 09:15:21 +0000 (09:15 +0000)
committerNeil Horman <nhorman@openssl.org>
Mon, 17 Feb 2025 16:27:32 +0000 (11:27 -0500)
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23995)

ssl/quic/quic_impl.c

index 6904d45acc2ae2783643fd0f41f603255eaa5c16..6fcc1713257a6d0cb3b2a195ef55930c73990ce1 100644 (file)
@@ -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 {