Cleanup test which fails on 7.2 with

Warning: Use of undefined constant MCRYPT_CBC - assumed 'MCRYPT_CBC' (this will throw an Error in a future version of PHP) ...
This commit is contained in:
Remi Collet
2017-04-12 11:16:27 +02:00
parent e253e86803
commit 66d2c35dd3

View File

@@ -13,12 +13,11 @@ Bug #8040 (MCRYPT_MODE_* do not seem to exist)
define ("CIPHER", MCRYPT_TWOFISH);
define ("MODE2", MCRYPT_MODE_CBC);
define ("MODE3", MCRYPT_CBC);
printf ("cipher=".CIPHER. " mode1=".MODE2. " mode2=". MODE3."\n");
printf ("cipher=".CIPHER. " mode1=".MODE2."\n");
?>
--EXPECT--
--EXPECTF--
twofish
cbc
cbc
cipher=twofish mode1=cbc mode2=MCRYPT_CBC
cipher=twofish mode1=cbc