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

1.1     ! misho       1: --TEST--
        !             2: openssl: get public key from generated private key
        !             3: --SKIPIF--
        !             4: <?php 
        !             5: if (!extension_loaded("openssl")) die("skip"); 
        !             6: if (!@openssl_pkey_new()) die("skip cannot create private key"); 
        !             7: ?>
        !             8: --FILE--
        !             9: <?php 
        !            10: $priv = openssl_pkey_new();
        !            11: $pub = openssl_pkey_get_public($priv);
        !            12: ?>
        !            13: --EXPECTF--
        !            14: Warning: openssl_pkey_get_public(): Don't know how to get public key from this private key %s

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