php-src/ext/openssl/tests/bug41353.phpt

17 lines
246 B
Plaintext
Raw Normal View History

--TEST--
2007-05-28 20:03:35 +00:00
Bug #41353 (openssl_pkcs12_read() does not verify the type of the first arg)
--SKIPIF--
<?php
if (!extension_loaded("openssl")) die("skip");
?>
--FILE--
<?php
$a = 2;
openssl_pkcs12_read(1, $a, 1);
echo "Done\n";
?>
--EXPECTF--
2007-05-28 20:03:35 +00:00
Done