php-gnupg/tests/gnupg_res_zzz_deletekey.phpt
2016-12-11 19:36:15 +00:00

14 lines
281 B
PHP

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