]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
QUIC MSMT: macOS robustness fixes
authorHugo Landau <hlandau@openssl.org>
Tue, 2 May 2023 16:59:04 +0000 (17:59 +0100)
committerHugo Landau <hlandau@openssl.org>
Wed, 24 May 2023 09:34:47 +0000 (10:34 +0100)
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20856)

test/quic_multistream_test.c

index d09db38cc19aaee29352ce3dff8529ede6936bd0..851f45278a2ad439b2a0dc7bdb8d20de906efc6f 100644 (file)
@@ -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. */