diff options
-rw-r--r-- | ext/mcrypt/tests/mcrypt_module_get_algo_block_size.phpt | 5 | ||||
-rw-r--r-- | ext/mcrypt/tests/mcrypt_module_get_algo_key_size.phpt | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/ext/mcrypt/tests/mcrypt_module_get_algo_block_size.phpt b/ext/mcrypt/tests/mcrypt_module_get_algo_block_size.phpt index c89a44ad8a..93db98241a 100644 --- a/ext/mcrypt/tests/mcrypt_module_get_algo_block_size.phpt +++ b/ext/mcrypt/tests/mcrypt_module_get_algo_block_size.phpt @@ -8,12 +8,13 @@ var_dump(mcrypt_module_get_algo_block_size(MCRYPT_RIJNDAEL_256)); var_dump(mcrypt_module_get_algo_block_size(MCRYPT_RIJNDAEL_192)); var_dump(mcrypt_module_get_algo_block_size(MCRYPT_RC2)); var_dump(mcrypt_module_get_algo_block_size(MCRYPT_XTEA)); -var_dump(mcrypt_module_get_algo_block_size(MCRYPT_CAST_128)); +var_dump(mcrypt_module_get_algo_block_size(MCRYPT_CAST_256)); var_dump(mcrypt_module_get_algo_block_size(MCRYPT_BLOWFISH)); +?> --EXPECT-- int(32) int(24) int(8) int(8) -int(8) +int(16) int(8) diff --git a/ext/mcrypt/tests/mcrypt_module_get_algo_key_size.phpt b/ext/mcrypt/tests/mcrypt_module_get_algo_key_size.phpt index 7d3841f3e2..35e4721055 100644 --- a/ext/mcrypt/tests/mcrypt_module_get_algo_key_size.phpt +++ b/ext/mcrypt/tests/mcrypt_module_get_algo_key_size.phpt @@ -8,12 +8,13 @@ var_dump(mcrypt_module_get_algo_key_size(MCRYPT_RIJNDAEL_256)); var_dump(mcrypt_module_get_algo_key_size(MCRYPT_RIJNDAEL_192)); var_dump(mcrypt_module_get_algo_key_size(MCRYPT_RC2)); var_dump(mcrypt_module_get_algo_key_size(MCRYPT_XTEA)); -var_dump(mcrypt_module_get_algo_key_size(MCRYPT_CAST_128)); +var_dump(mcrypt_module_get_algo_key_size(MCRYPT_CAST_256)); var_dump(mcrypt_module_get_algo_key_size(MCRYPT_BLOWFISH)); +?> --EXPECT-- int(32) int(32) int(128) int(16) -int(16) +int(32) int(56) |