]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
QUIC APL: Fix bug around default XSO handling on server side
authorHugo Landau <hlandau@openssl.org>
Mon, 5 Feb 2024 17:22:53 +0000 (17:22 +0000)
committerNeil Horman <nhorman@openssl.org>
Mon, 17 Feb 2025 16:27:32 +0000 (11:27 -0500)
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23334)

ssl/quic/quic_impl.c

index cba2d2463b55d82ec7023d88b301eaf14a75ad53..aff7027489da51dba4b8f906ae0d2cf711f1c62c 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 == 0) {
+        if (remote_init == ctx->qc->as_server) {
             if (!qc_try_create_default_xso_for_write(ctx))
                 goto err;
         } else {