mirror of
https://github.com/php/php-src.git
synced 2026-03-26 01:02:25 +01:00
17 lines
243 B
PHP
17 lines
243 B
PHP
--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";
|
|
?>
|
|
--EXPECT--
|
|
Done
|