]> granicus.if.org Git - php/commit
openssl_encrypt() / openssl_decrypt() were flawed and truncated the key to the defaul...
authorScott MacVicar <scottmac@php.net>
Tue, 19 Jul 2011 22:15:56 +0000 (22:15 +0000)
committerScott MacVicar <scottmac@php.net>
Tue, 19 Jul 2011 22:15:56 +0000 (22:15 +0000)
commit64a0c79a073a788b851555e656318306d7207d41
treead7c62c6369d9c72d36a82eba0931f4c6ba2c2d4
parent81e8615cc3d00e7dd6b14c1c594906520515df46
openssl_encrypt() / openssl_decrypt() were flawed and truncated the key to the default size for the case of a variable key length cipher.

The result is a key of 448 bits being passed to the blowfish algorithm would be truncated to 128 bit.

Also fixed an error in the zend_parse_parameters() having an invalid character being used.
ext/openssl/openssl.c