Skip to content

Commit f8850cc

Browse files
committed
Speed up TLS wrapper test for min and max versions
1 parent ee4fa7d commit f8850cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/openssl/tests/tls_min_v1.0_max_v1.1_wrapper.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ $serverCode = <<<'CODE'
1818
$server = stream_socket_server('tls://127.0.0.1:64321', $errno, $errstr, $flags, $ctx);
1919
phpt_notify();
2020
21-
for ($i=0; $i < 6; $i++) {
21+
for ($i=0; $i < (phpt_has_sslv3() ? 6 : 5); $i++) {
2222
@stream_socket_accept($server, 3);
2323
}
2424
CODE;

0 commit comments

Comments
 (0)