Skip to content

Commit ff8a6b1

Browse files
committed
Update test for bug #74159
1 parent cc10515 commit ff8a6b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/openssl/tests/bug74159.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ $clientCode = <<<'CODE'
7676
$fp = stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx);
7777
7878
stream_set_blocking($fp, false);
79-
while (0 === ($n = stream_socket_enable_crypto($fp, true, STREAM_CRYPTO_METHOD_ANY_CLIENT)));
79+
while (0 === ($n = stream_socket_enable_crypto($fp, true, STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT)));
8080
8181
$data = str_repeat("a", 0xfffff);
8282
$written = 0;

0 commit comments

Comments
 (0)