summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2023-05-02 17:59:04 +0100
committerHugo Landau <hlandau@openssl.org>2023-05-24 10:34:47 +0100
commit7ba8f79a0ff5f085c9f1b4471496180c052360f5 (patch)
tree6014e725333cc8834c7d432a4d03aa7e30274a56 /test
parentfaa3a180efcf17c8fc7db354367d2b03d89f3042 (diff)
QUIC MSMT: macOS robustness fixes
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/20856)
Diffstat (limited to 'test')
-rw-r--r--test/quic_multistream_test.c8
1 files 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. */