xref: /PHP-7.4/ext/openssl/tests/bug41353.phpt (revision 782352c5)
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--EXPECT--
16Done
17