svn: /php/php-src/ branches/PHP_5_3/ext/openssl/tests/bug55169.phpt branches/PHP_5_4/ext/openssl/tests/bug55169.phpt
trunk/ext/openssl/tests/bug55169.phpt
| From: | Ryan Biesemeyer | Date: | Wed, 20 Jul 2011 21:25:39 +0000 |
| Subject: | svn: /php/php-src/ branches/PHP_5_3/ext/openssl/tests/bug55169.phpt branches/PHP_5_4/ext/openssl/tests/bug55169.phpt trunk/ext/openssl/tests/bug55169.phpt |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-65559@lists.php.net to get a copy of this message | ||
yaauie Wed, 20 Jul 2011 21:25:39 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=313489
Log:
removing openssl test for bug #55169 per Scott MacVicar's request; duplicate coverage of
opensssl_random_pseudo_bytes.phpt
Bug: https://bugs.php.net/55169 (Assigned) mcrypt_create_iv
always fails to gather sufficient random data
Changed paths:
D php/php-src/branches/PHP_5_3/ext/openssl/tests/bug55169.phpt
D php/php-src/branches/PHP_5_4/ext/openssl/tests/bug55169.phpt
D php/php-src/trunk/ext/openssl/tests/bug55169.phpt
Deleted: 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 21:13:03 UTC (rev
313488)
+++ php/php-src/branches/PHP_5_3/ext/openssl/tests/bug55169.phpt 2011-07-20 21:25:39 UTC (rev
313489)
@@ -1,43 +0,0 @@
---TEST--
-openssl_random_pseudo_bytes test
-https://bugs.php.net/bug.php?id=55169
---SKIPIF--
-<?php
-if(!extension_loaded('openssl')) echo 'skip - requires openssl extension';
-?>
---FILE--
-<?php
-for ($i = -1; $i <= 4; $i++) {
- $bytes = openssl_random_pseudo_bytes($i, $cstrong);
- $hex = bin2hex($bytes);
-
- echo "Lengths: Bytes: $i and Hex: " . strlen($hex) . PHP_EOL;
- var_dump($hex);
- var_dump($cstrong);
- echo PHP_EOL;
-}
-?>
---EXPECTF--
-Lengths: Bytes: -1 and Hex: 0
-string(0) ""
-NULL
-
-Lengths: Bytes: 0 and Hex: 0
-string(0) ""
-NULL
-
-Lengths: Bytes: 1 and Hex: 2
-string(2) "%x"
-bool(true)
-
-Lengths: Bytes: 2 and Hex: 4
-string(4) "%x"
-bool(true)
-
-Lengths: Bytes: 3 and Hex: 6
-string(6) "%x"
-bool(true)
-
-Lengths: Bytes: 4 and Hex: 8
-string(8) "%x"
-bool(true)
Deleted: 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 21:13:03 UTC (rev
313488)
+++ php/php-src/branches/PHP_5_4/ext/openssl/tests/bug55169.phpt 2011-07-20 21:25:39 UTC (rev
313489)
@@ -1,43 +0,0 @@
---TEST--
-openssl_random_pseudo_bytes test
-https://bugs.php.net/bug.php?id=55169
---SKIPIF--
-<?php
-if(!extension_loaded('openssl')) echo 'skip - requires openssl extension';
-?>
---FILE--
-<?php
-for ($i = -1; $i <= 4; $i++) {
- $bytes = openssl_random_pseudo_bytes($i, $cstrong);
- $hex = bin2hex($bytes);
-
- echo "Lengths: Bytes: $i and Hex: " . strlen($hex) . PHP_EOL;
- var_dump($hex);
- var_dump($cstrong);
- echo PHP_EOL;
-}
-?>
---EXPECTF--
-Lengths: Bytes: -1 and Hex: 0
-string(0) ""
-NULL
-
-Lengths: Bytes: 0 and Hex: 0
-string(0) ""
-NULL
-
-Lengths: Bytes: 1 and Hex: 2
-string(2) "%x"
-bool(true)
-
-Lengths: Bytes: 2 and Hex: 4
-string(4) "%x"
-bool(true)
-
-Lengths: Bytes: 3 and Hex: 6
-string(6) "%x"
-bool(true)
-
-Lengths: Bytes: 4 and Hex: 8
-string(8) "%x"
-bool(true)
Deleted: php/php-src/trunk/ext/openssl/tests/bug55169.phpt
===================================================================
--- php/php-src/trunk/ext/openssl/tests/bug55169.phpt 2011-07-20 21:13:03 UTC (rev 313488)
+++ php/php-src/trunk/ext/openssl/tests/bug55169.phpt 2011-07-20 21:25:39 UTC (rev 313489)
@@ -1,43 +0,0 @@
---TEST--
-openssl_random_pseudo_bytes test
-https://bugs.php.net/bug.php?id=55169
---SKIPIF--
-<?php
-if(!extension_loaded('openssl')) echo 'skip - requires openssl extension';
-?>
---FILE--
-<?php
-for ($i = -1; $i <= 4; $i++) {
- $bytes = openssl_random_pseudo_bytes($i, $cstrong);
- $hex = bin2hex($bytes);
-
- echo "Lengths: Bytes: $i and Hex: " . strlen($hex) . PHP_EOL;
- var_dump($hex);
- var_dump($cstrong);
- echo PHP_EOL;
-}
-?>
---EXPECTF--
-Lengths: Bytes: -1 and Hex: 0
-string(0) ""
-NULL
-
-Lengths: Bytes: 0 and Hex: 0
-string(0) ""
-NULL
-
-Lengths: Bytes: 1 and Hex: 2
-string(2) "%x"
-bool(true)
-
-Lengths: Bytes: 2 and Hex: 4
-string(4) "%x"
-bool(true)
-
-Lengths: Bytes: 3 and Hex: 6
-string(6) "%x"
-bool(true)
-
-Lengths: Bytes: 4 and Hex: 8
-string(8) "%x"
-bool(true)