From: Hugo Landau Date: Mon, 5 Feb 2024 17:22:53 +0000 (+0000) Subject: QUIC APL: Fix bug around default XSO handling on server side X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a999a93be1005670a8c82a85e5e0b0f687140299;p=thirdparty%2Fopenssl.git 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) --- diff --git a/ssl/quic/quic_impl.c b/ssl/quic/quic_impl.c index 65cf9794740..6138dfdf243 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 {