summaryrefslogtreecommitdiff
path: root/ext/openssl/tests/bug41353.phpt
blob: 47fda89f7b6b99aee34ca23aaa9a04b155af753b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--TEST--
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--
Done