Return to bug41353.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / openssl / tests |
1.1 ! misho 1: --TEST-- ! 2: Bug #41353 (openssl_pkcs12_read() does not verify the type of the first arg) ! 3: --SKIPIF-- ! 4: <?php ! 5: if (!extension_loaded("openssl")) die("skip"); ! 6: ?> ! 7: --FILE-- ! 8: <?php ! 9: ! 10: $a = 2; ! 11: openssl_pkcs12_read(1, $a, 1); ! 12: ! 13: echo "Done\n"; ! 14: ?> ! 15: --EXPECTF-- ! 16: Done