Annotation of embedaddon/php/ext/openssl/tests/bug41353.phpt, revision 1.1

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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>