From: Hugo Landau Date: Tue, 2 May 2023 16:59:04 +0000 (+0100) Subject: QUIC MSMT: macOS robustness fixes X-Git-Tag: openssl-3.2.0-alpha1~780 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ba8f79a0ff5f085c9f1b4471496180c052360f5;p=thirdparty%2Fopenssl.git QUIC MSMT: macOS robustness fixes Reviewed-by: Matt Caswell Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/20856) --- diff --git a/test/quic_multistream_test.c b/test/quic_multistream_test.c index d09db38cc19..851f45278a2 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. */