mirror of
https://github.com/php/php-src.git
synced 2024-10-01 14:56:10 +00:00
12 lines
348 B
PHP
12 lines
348 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(): Failed to base64 decode the input in %s on line %s
|
|
bool(false) |