We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf9cf3d commit c9fb022Copy full SHA for c9fb022
1 file changed
ext/openssl/openssl.c
@@ -6748,8 +6748,8 @@ PHP_FUNCTION(openssl_open)
6748
RETURN_THROWS();
6749
}
6750
if ((size_t)cipher_iv_len != iv_len) {
6751
- zend_argument_value_error(6, "length is invalid");
6752
- RETURN_THROWS();
+ php_error_docref(NULL, E_WARNING, "IV length is invalid");
+ RETURN_FALSE;
6753
6754
iv_buf = (unsigned char *)iv;
6755
} else {
0 commit comments