diff -r 7056ed228625 -r c26ca4f9158b usr/src/cmd/php5/patches/16_php_openssl_tests.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/usr/src/cmd/php5/patches/16_php_openssl_tests.patch Sun Sep 01 18:44:44 2013 +0100 @@ -0,0 +1,14 @@ +This test now causing an infinite loop. +Produced fix by comparing to the php 5.3.26 version of the test. + +--- php-5.2.17/ext/openssl/tests/bug48182.phpt_orig 2009-09-22 03:15:10.000000000 -0700 ++++ php-5.2.17/ext/openssl/tests/bug48182.phpt 2013-06-20 14:16:39.947981967 -0700 +@@ -51,7 +51,7 @@ + $socket = stream_socket_client($host, $errno, $errstr, 10, $flags); + stream_set_blocking($socket, 0); + +- while ($data) { ++ while ($socket && $data) { + $wrote = fwrite($socket, $data, strlen($data)); + $data = substr($data, $wrote); + }