From 7ba8f79a0ff5f085c9f1b4471496180c052360f5 Mon Sep 17 00:00:00 2001 From: Hugo Landau Date: Tue, 2 May 2023 17:59:04 +0100 Subject: [PATCH] QUIC MSMT: macOS robustness fixes Reviewed-by: Matt Caswell Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/20856) --- test/quic_multistream_test.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/quic_multistream_test.c b/test/quic_multistream_test.c index d09db38cc1..851f45278a 100644 --- a/test/quic_multistream_test.c +++ b/test/quic_multistream_test.c @@ -625,11 +625,11 @@ static int run_script_worker(struct helper *h, const struct script_op *script, s_stream_id = UINT64_MAX; } - if (thread_idx < 0) { + if (thread_idx < 0) ossl_quic_tserver_tick(h->s); - if (connect_started) - SSL_tick(h->c_conn); - } + + if (thread_idx >= 0 || connect_started) + SSL_tick(h->c_conn); if (thread_idx >= 0) { /* Only allow certain opcodes on child threads. */