Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24037)
goto err;
if ((flags & QCTX_REMOTE_INIT) != 0) {
- if (!qc_wait_for_default_xso_for_read(ctx))
+ if (!qc_wait_for_default_xso_for_read(ctx, /*peek=*/0))
goto err;
} else {
if (!qc_try_create_default_xso_for_write(ctx))
if (len == 0) {
/* Do not autocreate default XSO for zero-length writes. */
- if (!expect_quic(s, &ctx))
+ if (!expect_quic_cs(s, &ctx))
return 0;
qctx_lock_for_io(&ctx);