]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
QUIC RADIX TEST: Ensure connection acceptance does not block
authorHugo Landau <hlandau@openssl.org>
Thu, 4 Apr 2024 10:51:04 +0000 (11:51 +0100)
committerNeil Horman <nhorman@openssl.org>
Mon, 17 Feb 2025 16:27:32 +0000 (11:27 -0500)
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24037)

test/radix/quic_ops.c

index 955a5cb83f22e54ae2c2ff21861525c51b76de95..79398b8122b3d5dd19fe98012973766c2895ab35 100644 (file)
@@ -266,7 +266,7 @@ DEF_FUNC(hf_accept_conn_none)
 
     REQUIRE_SSL(listener);
 
-    conn = SSL_accept_connection(listener, 0);
+    conn = SSL_accept_connection(listener, SSL_ACCEPT_CONNECTION_NO_BLOCK);
     if (!TEST_ptr_null(conn)) {
         SSL_free(conn);
         goto err;