1
0
mirror of https://github.com/php/php-src.git synced 2026-04-24 08:28:26 +02:00
Commit Graph

4 Commits

Author SHA1 Message Date
Nikita Popov a861a3a93d Abort on invalid key size
Previously an incorrectly sized key was either silently padded
with NUL bytes or truncated. Especially the silent nature of this
behavior makes it extremely easy to use weak encryption. A common
mistake - which has also been extensively made in our tests - is
to use a password instead of a key.

Incorrectly sized keys will now be rejected.
2014-03-05 15:32:32 +01:00
Jeraimee Hughes daecb2c0f4 Fixes for broken tests. 2011-05-17 15:08:15 +00:00
Jani Taskinen a5531c13fc - Fix bad section names (extra - in the end..) 2009-11-09 17:08:48 +00:00
Felipe Pena 028d0cd2dd - Fixed bug #46010 (warnings incorrectly generated for iv in ecb mode) 2008-09-07 22:53:20 +00:00