From 544f5ad35bfe8351ea3f0821a61d83ce9300457d Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Mon, 13 Aug 2012 20:29:55 +0200 Subject: [PATCH] Fix mcrypt_ecb tests after deprecation --- ext/mcrypt/tests/mcrypt_ecb.phpt | 6 ++++++ ext/mcrypt/tests/mcrypt_ecb_3des_decrypt.phpt | 4 +++- ext/mcrypt/tests/mcrypt_ecb_3des_encrypt.phpt | 2 ++ ext/mcrypt/tests/mcrypt_ecb_error.phpt | 2 ++ ext/mcrypt/tests/mcrypt_ecb_variation1.phpt | 4 +++- ext/mcrypt/tests/mcrypt_ecb_variation2.phpt | 4 +++- ext/mcrypt/tests/mcrypt_ecb_variation3.phpt | 4 +++- ext/mcrypt/tests/mcrypt_ecb_variation4.phpt | 4 +++- ext/mcrypt/tests/mcrypt_ecb_variation5.phpt | 4 +++- 9 files changed, 28 insertions(+), 6 deletions(-) diff --git a/ext/mcrypt/tests/mcrypt_ecb.phpt b/ext/mcrypt/tests/mcrypt_ecb.phpt index e75d9fa6cd..b6d0a22786 100644 --- a/ext/mcrypt/tests/mcrypt_ecb.phpt +++ b/ext/mcrypt/tests/mcrypt_ecb.phpt @@ -18,4 +18,10 @@ echo trim(mcrypt_ecb($cipher, $key, $enc_data, MCRYPT_DECRYPT, $iv)) . "\n"; mcrypt_ecb($cipher, $key, $enc_data, MCRYPT_DECRYPT); --EXPECTF-- + +Deprecated: Function mcrypt_ecb() is deprecated in %s on line %d + +Deprecated: Function mcrypt_ecb() is deprecated in %s on line %d PHP Testfest 2008 + +Deprecated: Function mcrypt_ecb() is deprecated in %s on line %d diff --git a/ext/mcrypt/tests/mcrypt_ecb_3des_decrypt.phpt b/ext/mcrypt/tests/mcrypt_ecb_3des_decrypt.phpt index 7a5cc27f44..82f9608da8 100644 --- a/ext/mcrypt/tests/mcrypt_ecb_3des_decrypt.phpt +++ b/ext/mcrypt/tests/mcrypt_ecb_3des_decrypt.phpt @@ -8,6 +8,8 @@ if (!extension_loaded("mcrypt")) { ?> --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE-- --FILE--