encoding). (cmb)
- OpenSSL:
- . Fixed bug #55259 (openssl extension does not get the DH parameters from
- DH key resource). (Jakub Zelenka)
. Fixed bug #70395 (Missing ARG_INFO for openssl_seal()). (cmb)
+ . Fixed bug #60632 (openssl_seal fails with AES). (Jakub Zelenka)
-- PDO:
- . Fixed bug #70389 (PDO constructor changes unrelated variables). (Laruence)
-
-- Phpdbg:
- . Fix phpdbg_break_next() sometimes not breaking. (Bob)
-
-- Standard:
- . Fixed bug #67131 (setcookie() conditional for empty values not met). (cmb)
-
- Streams:
. Fixed bug #70361 (HTTP stream wrapper doesn't close keep-alive connections).
(Niklas Keller)
if (method) {
cipher = EVP_get_cipherbyname(method);
if (!cipher) {
- php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unknown signature algorithm.");
+ php_error_docref(NULL, E_WARNING, "Unknown signature algorithm.");
RETURN_FALSE;
}
+ if (EVP_CIPHER_iv_length(cipher) > 0) {
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "Ciphers with modes requiring IV are not supported");
+ RETURN_FALSE;
+ }
} else {
cipher = EVP_rc4();
}