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!
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php