com php-src: Update test for bug #74159: ext/openssl/tests/bug74159.phpt
[email protected] (Aaron Piotrowski)
| Newsgroups | php.cvs |
|---|---|
| Message-ID | <[email protected]> |
Commit: ff8a6b1232b78abe0ad7de5a44af4be2b8839728 Author: Aaron Piotrowski <[email protected]> Thu, 23 Feb 2017 22:24:59 -0600 Parents: cc105150565676518d0bc72579c8b18ef792ef87 Branches: PHP-7.0 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=ff8a6b1232b78abe0ad7de5a44af4be2b8839728 Log: Update test for bug #74159 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 0299cf1..2aaa68b 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_ANY_CLIENT))); + while (0 === ($n = stream_socket_enable_crypto($fp, true, STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT))); $data = str_repeat("a", 0xfffff); $written = 0;