mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
test for bug #61124
This commit is contained in:
parent
e613889d50
commit
ad832abba1
1 changed files with 12 additions and 0 deletions
12
ext/openssl/tests/bug61124.phpt
Normal file
12
ext/openssl/tests/bug61124.phpt
Normal file
|
@ -0,0 +1,12 @@
|
|||
--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)
|
Loading…
Add table
Add a link
Reference in a new issue