diff options
author | Nikita Popov <nikic@php.net> | 2014-03-01 15:29:20 +0100 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2014-03-05 15:32:31 +0100 |
commit | c4b7cdb41e6c4f2f4afe6fb35d585e1f5fe15b70 (patch) | |
tree | 00fa66c29a95c0a2df4f25c43332d1e020a4efd6 /ext/mcrypt/php_mcrypt.h | |
parent | 1b922895fc4ea22b9f1e6679faf1a3d7b801a64e (diff) | |
download | php-git-c4b7cdb41e6c4f2f4afe6fb35d585e1f5fe15b70.tar.gz |
Abort on invalid IV size
Previously, if the size of the IV did not match the block size
mcrypt would throw a warning and fall back to a NUL IV. This
behavior is both dangerous and makes no practical sense.
mcrypt_encrypt etc. will now return false if the IV has an incorrect
size.
Diffstat (limited to 'ext/mcrypt/php_mcrypt.h')
0 files changed, 0 insertions, 0 deletions