]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
QUIC RADIX: Use enhanced blocking support when testing
authorHugo Landau <hlandau@openssl.org>
Mon, 13 May 2024 19:20:23 +0000 (20:20 +0100)
committerNeil Horman <nhorman@openssl.org>
Mon, 17 Feb 2025 16:27:33 +0000 (11:27 -0500)
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Saša Nedvědický <sashan@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/25416)

test/radix/quic_ops.c

index 47949dececd74a7c9ad5c94aa737c9a0ee50735a..3ff063f5d6d0f051b825ef992f1af8ce2d55df36 100644 (file)
@@ -150,6 +150,11 @@ DEF_FUNC(hf_new_ssl)
     if (!TEST_ptr(ctx = SSL_CTX_new(method)))
         goto err;
 
+    if (!TEST_true(SSL_CTX_set_domain_flags(ctx,
+                                            SSL_DOMAIN_FLAG_MULTI_THREAD
+                                            | SSL_DOMAIN_FLAG_BLOCKING)))
+        goto err;
+
     if (!TEST_true(ssl_ctx_configure(ctx, is_server)))
         goto err;