diff options
author | Nikita Popov <nikic@php.net> | 2014-03-02 23:23:12 +0100 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2014-03-05 15:32:32 +0100 |
commit | e4876ecbfb36a0a3de8f0a10ab20d607932cf59e (patch) | |
tree | 8a9daf4b1bf6cd240b48808fc72dcd3480bf658f /ext/mcrypt/tests/mcrypt_cbc_3des_encrypt.phpt | |
parent | 32333abe3e94e0f0efb51df39492d6b57b1de6e3 (diff) | |
download | php-git-e4876ecbfb36a0a3de8f0a10ab20d607932cf59e.tar.gz |
Print supported key sizes in error message
Diffstat (limited to 'ext/mcrypt/tests/mcrypt_cbc_3des_encrypt.phpt')
-rw-r--r-- | ext/mcrypt/tests/mcrypt_cbc_3des_encrypt.phpt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/mcrypt/tests/mcrypt_cbc_3des_encrypt.phpt b/ext/mcrypt/tests/mcrypt_cbc_3des_encrypt.phpt index 2e8dd5fd50..978e263588 100644 --- a/ext/mcrypt/tests/mcrypt_cbc_3des_encrypt.phpt +++ b/ext/mcrypt/tests/mcrypt_cbc_3des_encrypt.phpt @@ -58,14 +58,14 @@ key length=8 Deprecated: Function mcrypt_cbc() is deprecated in %s on line %d -Warning: mcrypt_cbc(): Key of length 8 not supported by this algorithm in %s on line %d +Warning: mcrypt_cbc(): Key of size 8 not supported by this algorithm. Only keys of size 24 supported in %s on line %d string(0) "" key length=20 Deprecated: Function mcrypt_cbc() is deprecated in %s on line %d -Warning: mcrypt_cbc(): Key of length 20 not supported by this algorithm in %s on line %d +Warning: mcrypt_cbc(): Key of size 20 not supported by this algorithm. Only keys of size 24 supported in %s on line %d string(0) "" key length=24 @@ -77,7 +77,7 @@ key length=26 Deprecated: Function mcrypt_cbc() is deprecated in %s on line %d -Warning: mcrypt_cbc(): Key of length 26 not supported by this algorithm in %s on line %d +Warning: mcrypt_cbc(): Key of size 26 not supported by this algorithm. Only keys of size 24 supported in %s on line %d string(0) "" --- testing different iv lengths |