cvs: php-src /ext/mcrypt/tests bug41252.phpt
| From: | Antony Dovgal | Date: | Thu, 19 Jul 2007 14:35:45 +0000 |
| Subject: | cvs: php-src /ext/mcrypt/tests bug41252.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-45456@lists.php.net to get a copy of this message | ||
tony2001 Thu Jul 19 14:35:45 2007 UTC
Modified files:
/php-src/ext/mcrypt/tests bug41252.phpt
Log:
fix test
http://cvs.php.net/viewvc.cgi/php-src/ext/mcrypt/tests/bug41252.phpt?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/mcrypt/tests/bug41252.phpt
diff -u php-src/ext/mcrypt/tests/bug41252.phpt:1.1 php-src/ext/mcrypt/tests/bug41252.phpt:1.2
--- php-src/ext/mcrypt/tests/bug41252.phpt:1.1 Tue May 1 16:04:16 2007
+++ php-src/ext/mcrypt/tests/bug41252.phpt Thu Jul 19 14:35:45 2007
@@ -4,10 +4,10 @@
<?php if (!extension_loaded("mcrypt")) print "skip"; ?>
--FILE--
<?php
-$td = mcrypt_module_open(MCRYPT_DES, '', MCRYPT_MODE_ECB, '');
+$td = mcrypt_module_open(MCRYPT_DES, b'', MCRYPT_MODE_ECB, b'');
echo mcrypt_generic($td,'aaaaaaaa');
print "I'm alive!\n";
?>
--EXPECTF--
-Warning: mcrypt_generic(): Operation disallowed prior to mcrypt_generic_init(). in %sbug41252.php
on line 3
+Warning: mcrypt_generic(): Operation disallowed prior to mcrypt_generic_init() in %sbug41252.php on
line 3
I'm alive!