diff options
author | Nikita Popov <nikic@php.net> | 2014-03-01 15:42:07 +0100 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2014-03-05 15:32:31 +0100 |
commit | 25d801f97ec3f4bcac8977efd50f843eba9b19e1 (patch) | |
tree | 2d6fad9a23051add3dec3fd6088578ae0a23d039 /ext/mcrypt/php_mcrypt.h | |
parent | c4b7cdb41e6c4f2f4afe6fb35d585e1f5fe15b70 (diff) | |
download | php-git-25d801f97ec3f4bcac8977efd50f843eba9b19e1.tar.gz |
Abort on missing IV if the enc_mode requires it
Previously the code fell back on using a NUL IV if no IV was
passed and the encryption mode required it. This is dangerous and
makes no sense from a practical point of view (as you could just
as well use ECB then).
Diffstat (limited to 'ext/mcrypt/php_mcrypt.h')
0 files changed, 0 insertions, 0 deletions