]> granicus.if.org Git - php/commitdiff
Update test for bug #74159
authorAaron Piotrowski <aaron@trowski.com>
Fri, 24 Feb 2017 04:24:59 +0000 (22:24 -0600)
committerAaron Piotrowski <aaron@trowski.com>
Fri, 24 Feb 2017 04:24:59 +0000 (22:24 -0600)
ext/openssl/tests/bug74159.phpt

index 0299cf117ab106a69df176ba9105b10791aee3ab..2aaa68bf70c6d4979beb4e37177b261b76080724 100644 (file)
@@ -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;