com php-src: Revert "Update test for bug #74159": ext/openssl/tests/bug74159.phpt

[email protected] (Joe Watkins)
Newsgroups php.cvs
Message-ID <[email protected]>
Commit:    f19c3d4bdf6901c1e7cfd26593cc43294b078289
Author:    Joe Watkins <[email protected]>         Fri, 3 Mar 2017 06:29:31 +0000
Parents:   33444dc0b099948fcacb1f5eba706b34065d7311
Branches:  PHP-7.1.3

Link:       http://git.php.net/?p=php-src.git;a=commitdiff;h=f19c3d4bdf6901c1e7cfd26593cc43294b078289

Log:
Revert "Update test for bug #74159"

This reverts commit ff8a6b1232b78abe0ad7de5a44af4be2b8839728.

Bugs:
https://bugs.php.net/74159

Changed paths:
  M  ext/openssl/tests/bug74159.phpt


Diff:
diff --git a/ext/openssl/tests/bug74159.phpt b/ext/openssl/tests/bug74159.phpt
index 2aaa68b..0299cf1 100644
--- a/ext/openssl/tests/bug74159.phpt
+++ b/ext/openssl/tests/bug74159.phpt
@@ -76,7 +76,7 @@ $clientCode = <<<'CODE'
     $fp = stream_socket_client($serverUri, $errno, $errstr, 1, $clientFlags, $clientCtx);
 
     stream_set_blocking($fp, false);
-    while (0 === ($n = stream_socket_enable_crypto($fp, true, STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT)));
+    while (0 === ($n = stream_socket_enable_crypto($fp, true, STREAM_CRYPTO_METHOD_ANY_CLIENT)));
 
     $data = str_repeat("a", 0xfffff);
     $written = 0;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.