cvs: php-src /ext/mcrypt/tests bug41252.phpt

From: Date: Tue, 01 May 2007 16:04:16 +0000
Subject: cvs: php-src /ext/mcrypt/tests bug41252.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-44116@lists.php.net to get a copy of this message
derick Tue May 1 16:04:16 2007 UTC Added files: /php-src/ext/mcrypt/tests bug41252.phpt Log: - Added test case for bug #41252. http://cvs.php.net/viewvc.cgi/php-src/ext/mcrypt/tests/bug41252.phpt?view=markup&rev=1.1 Index: php-src/ext/mcrypt/tests/bug41252.phpt +++ php-src/ext/mcrypt/tests/bug41252.phpt --TEST-- Bug #41252 (Calling mcrypt_generic without first calling mcrypt_generic_init crashes) --SKIPIF-- <?php if (!extension_loaded("mcrypt")) print "skip"; ?> --FILE-- <?php $td = mcrypt_module_open(MCRYPT_DES, '', MCRYPT_MODE_ECB, ''); 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 I'm alive!

« previous php.cvs (#44116) next »