xref: /PHP-5.3/ext/openssl/tests/bug61124.phpt (revision 118dd435)
1--TEST--
2Bug #61124: Segmentation fault with openssl_decrypt
3--SKIPIF--
4<?php
5if (!extension_loaded("openssl")) die("skip");
6--FILE--
7<?php
8var_dump(openssl_decrypt('kzo w2RMExUTYQXW2Xzxmg==', 'aes-128-cbc', 'pass', false, 'pass'));
9
10--EXPECTF--
11Warning: openssl_decrypt(): Failed to base64 decode the input in %s on line %s
12bool(false)