yaauie Wed, 20 Jul 2011 21:13:03 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=313488
Log: update test for bug #55169, fix skipif Bug: https://bugs.php.net/55169 (Assigned) mcrypt_create_iv always fails to gather sufficient random data Changed paths: U php/php-src/branches/PHP_5_3/ext/openssl/tests/bug55169.phpt U php/php-src/branches/PHP_5_4/ext/openssl/tests/bug55169.phpt U php/php-src/trunk/ext/openssl/tests/bug55169.phpt Modified: php/php-src/branches/PHP_5_3/ext/openssl/tests/bug55169.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/openssl/tests/bug55169.phpt 2011-07-20 20:57:17 UTC (rev 313487) +++ php/php-src/branches/PHP_5_3/ext/openssl/tests/bug55169.phpt 2011-07-20 21:13:03 UTC (rev 313488) @@ -2,7 +2,9 @@ openssl_random_pseudo_bytes test https://bugs.php.net/bug.php?id=55169 --SKIPIF-- -if(!extension_loaded('openssl')) echo 'skip - requires openssl extension' +<?php +if(!extension_loaded('openssl')) echo 'skip - requires openssl extension'; +?> --FILE-- <?php for ($i = -1; $i <= 4; $i++) { Modified: php/php-src/branches/PHP_5_4/ext/openssl/tests/bug55169.phpt =================================================================== --- php/php-src/branches/PHP_5_4/ext/openssl/tests/bug55169.phpt 2011-07-20 20:57:17 UTC (rev 313487) +++ php/php-src/branches/PHP_5_4/ext/openssl/tests/bug55169.phpt 2011-07-20 21:13:03 UTC (rev 313488) @@ -2,7 +2,9 @@ openssl_random_pseudo_bytes test https://bugs.php.net/bug.php?id=55169 --SKIPIF-- -if(!extension_loaded('openssl')) echo 'skip - requires openssl extension' +<?php +if(!extension_loaded('openssl')) echo 'skip - requires openssl extension'; +?> --FILE-- <?php for ($i = -1; $i <= 4; $i++) { Modified: php/php-src/trunk/ext/openssl/tests/bug55169.phpt =================================================================== --- php/php-src/trunk/ext/openssl/tests/bug55169.phpt 2011-07-20 20:57:17 UTC (rev 313487) +++ php/php-src/trunk/ext/openssl/tests/bug55169.phpt 2011-07-20 21:13:03 UTC (rev 313488) @@ -2,7 +2,9 @@ openssl_random_pseudo_bytes test https://bugs.php.net/bug.php?id=55169 --SKIPIF-- -if(!extension_loaded('openssl')) echo 'skip - requires openssl extension' +<?php +if(!extension_loaded('openssl')) echo 'skip - requires openssl extension'; +?> --FILE-- <?php for ($i = -1; $i <= 4; $i++) {
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php