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

[email protected] (Anatol Belski)
Newsgroups php.cvs
Message-ID <[email protected]>
Commit:    46a418f450248d0d0d74ab348e9125f0ef42b8dc
Author:    Anatol Belski <[email protected]>         Thu, 2 Mar 2017 20:40:25 +0100
Parents:   7ac1122ff50b9afedc04c081e3b7b9932722af0a
Branches:  PHP-7.0.17

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

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.