php-gnupg/tests/gnupg_res_zzz_deletekey.phpt

15 lines
281 B
Text
Raw Normal View History

2006-11-03 12:39:53 +00:00
--TEST--n
delete a key from the keyring
--FILE--
<?php
require_once dirname(__FILE__) . "/vars.inc";
gnupg_test_import();
2006-11-03 12:39:53 +00:00
$gpg = gnupg_init();
gnupg_seterrormode($gpg, GNUPG_ERROR_WARNING);
$ret = gnupg_deletekey($gpg, $fingerprint,true);
var_dump($ret);
?>
--EXPECT--
bool(true)