summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2024-03-28 09:15:21 +0000
committerHugo Landau <hlandau@openssl.org>2024-04-19 09:33:10 +0100
commit4d6ca3646010ac4bb9d935188af97c014f00705e (patch)
tree67b27daceadbb002fb08173d91b7d19b3459ab0d
parent96b572ffd4beaaca5bf924fc5b41560d98a29d93 (diff)
QUIC APL: Fix default stream creation on server side
Reviewed-by: Neil Horman <nhorman@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/23995)
-rw-r--r--ssl/quic/quic_impl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/quic/quic_impl.c b/ssl/quic/quic_impl.c
index 9c3d1e89b4..b8530257e9 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 == ctx->qc->as_server) {
+ if (remote_init == 0) {
if (!qc_try_create_default_xso_for_write(ctx))
goto err;
} else {