mirror of
https://github.com/php/php-src.git
synced 2024-09-22 18:37:25 +00:00
45f7b2bcc8
Also fix a single instance of CRLF in ibase_query.c.
13 lines
396 B
PHP
13 lines
396 B
PHP
--TEST--
|
|
Bug #61124: Segmentation fault with openssl_decrypt
|
|
--SKIPIF--
|
|
<?php
|
|
if (!extension_loaded("openssl")) die("skip");
|
|
--FILE--
|
|
<?php
|
|
var_dump(openssl_decrypt('kzo w2RMExUTYQXW2Xzxmg==', 'aes-128-cbc', 'pass', false, 'pass'));
|
|
|
|
--EXPECTF--
|
|
Warning: openssl_decrypt(): IV passed is only 4 bytes long, cipher expects an IV of precisely 16 bytes, padding with \0 in %s on line %d
|
|
bool(false)
|