php-gnupg/tests/gnupg_res_zzz_deletekey.phpt
Thilo Raufeisen ba4ad8960b more tests
removed examples
2006-11-03 12:39:53 +00:00

12 lines
258 B
PHP

--TEST--n
delete a key from the keyring
--FILE--
<?php
require_once(dirname(__FILE__)."/vars.inc");
$gpg = gnupg_init();
gnupg_seterrormode($gpg, GNUPG_ERROR_WARNING);
$ret = gnupg_deletekey($gpg, $fingerprint,true);
var_dump($ret);
?>
--EXPECT--
bool(true)