xref: /PHP-5.4/ext/openssl/tests/bug41353.phpt (revision 97e9bd1d)
1--TEST--
2Bug #41353 (openssl_pkcs12_read() does not verify the type of the first arg)
3--SKIPIF--
4<?php
5if (!extension_loaded("openssl")) die("skip");
6?>
7--FILE--
8<?php
9
10$a = 2;
11openssl_pkcs12_read(1, $a, 1);
12
13echo "Done\n";
14?>
15--EXPECTF--
16Done
17