]> 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)
committerViktor Dukhovni <openssl-users@dukhovni.org>
Wed, 11 Sep 2024 08:35:22 +0000 (18:35 +1000)
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 1baee34a1e56442e610de4e24097e73a8b226bf2..c1dcc1a661d7c0bc11c25cf57fe21876c34b5b26 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 {