From bb66536a0f6183dd53391e3a88bde2c30cd72cc1 Mon Sep 17 00:00:00 2001 From: Juan Versolato Lopes Date: Tue, 27 Oct 2026 15:07:32 -0300 Subject: [PATCH] Fix race between the two stream_server_reneg_limit tests stream_server_reneg_limit_trampoline.phpt reused the temporary certificate file of stream_server_reneg_limit.phpt. When run-tests runs both at the same time, one test can overwrite or delete the other's certificate, making stream_socket_accept() fail with "Unable to set local cert chain file". Give the trampoline test its own file. --- ext/openssl/tests/stream_server_reneg_limit_trampoline.phpt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/openssl/tests/stream_server_reneg_limit_trampoline.phpt b/ext/openssl/tests/stream_server_reneg_limit_trampoline.phpt index a44e9fdffe65..c4d21123f621 100644 --- a/ext/openssl/tests/stream_server_reneg_limit_trampoline.phpt +++ b/ext/openssl/tests/stream_server_reneg_limit_trampoline.phpt @@ -13,7 +13,7 @@ if(substr(PHP_OS, 0, 3) == 'WIN') { ?> --FILE-- run($serverCode, $clientCode, false); ?> --CLEAN-- --EXPECTF-- resource(%d) of type (stream)