From c69ce7fcf1d991e54a2ade3d787029f978796443 Mon Sep 17 00:00:00 2001 From: Hugo Landau Date: Mon, 5 Feb 2024 17:22:53 +0000 Subject: [PATCH] QUIC APL: Fix bug around default XSO handling on server side Reviewed-by: Matt Caswell Reviewed-by: Neil Horman (Merged from https://github.com/openssl/openssl/pull/23334) --- ssl/quic/quic_impl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssl/quic/quic_impl.c b/ssl/quic/quic_impl.c index cba2d2463b5..aff7027489d 100644 --- a/ssl/quic/quic_impl.c +++ b/ssl/quic/quic_impl.c @@ -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 { -- 2.47.3