]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
quic: pass is_write to quic_classify_stream in quic_get_stream_error_code master
authorJoshua Rogers <MegaManSec@users.noreply.github.com>
Fri, 10 Oct 2025 12:45:50 +0000 (20:45 +0800)
committerTomas Mraz <tomas@openssl.org>
Tue, 14 Oct 2025 16:21:19 +0000 (18:21 +0200)
Signed-off-by: Joshua Rogers <MegaManSec@users.noreply.github.com>
Reviewed-by: Saša Nedvědický <sashan@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/28820)

ssl/quic/quic_impl.c

index 60e8081e1046802e7f6b483a422ddd8cd4e89558..0ca07589af43d8c21f0f68d93b2894b72de3e081 100644 (file)
@@ -4151,7 +4151,7 @@ static int quic_get_stream_error_code(SSL *ssl, int is_write,
     if (!expect_quic_with_stream_lock(ssl, /*remote_init=*/-1, /*io=*/0, &ctx))
         return -1;
 
-    quic_classify_stream(ctx.qc, ctx.xso->stream, /*is_write=*/0,
+    quic_classify_stream(ctx.qc, ctx.xso->stream, is_write,
                          &state, app_error_code);
 
     qctx_unlock(&ctx);