From: Joshua Rogers Date: Fri, 10 Oct 2025 12:45:50 +0000 (+0800) Subject: quic: pass is_write to quic_classify_stream in quic_get_stream_error_code X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2466b57b893503f602622ad4f7cba1f3a2585ec0;p=thirdparty%2Fopenssl.git quic: pass is_write to quic_classify_stream in quic_get_stream_error_code Signed-off-by: Joshua Rogers Reviewed-by: Saša Nedvědický Reviewed-by: Matt Caswell Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/28820) --- diff --git a/ssl/quic/quic_impl.c b/ssl/quic/quic_impl.c index 60e8081e104..0ca07589af4 100644 --- a/ssl/quic/quic_impl.c +++ b/ssl/quic/quic_impl.c @@ -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);