com php-src: Changed from testing cast-128 to cast-256: ext/mcrypt/tests/mcrypt_module_get_algo_block_size. phpt
ext/mcrypt/tests/mcrypt_module_get_algo_key_si ze.phpt

From: Date: Tue, 08 Sep 2015 21:01:09 +0000
Subject: com php-src: Changed from testing cast-128 to cast-256: ext/mcrypt/tests/mcrypt_module_get_algo_block_size. phpt
ext/mcrypt/tests/mcrypt_module_get_algo_key_si ze.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-89445@lists.php.net to get a copy of this message
Commit: e7414a48ef8048386dc0459b56f652a8b37015f5 Author: Daniel Persson <daniel.persson@textalk.se> Tue, 8 Sep 2015 23:01:09 +0200 Parents: 07c7b33028c28383055febcbe66705ee516b9b15 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e7414a48ef8048386dc0459b56f652a8b37015f5 Log: Changed from testing cast-128 to cast-256 Changed paths: M ext/mcrypt/tests/mcrypt_module_get_algo_block_size.phpt M ext/mcrypt/tests/mcrypt_module_get_algo_key_size.phpt Diff: 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 c89a44a..93db982 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 7d3841f..35e4721 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)

« previous php.cvs (#89445) next »