mirror of
https://github.com/php-gnupg/php-gnupg.git
synced 2024-11-22 22:37:10 +00:00
16 lines
329 B
PHP
16 lines
329 B
PHP
--TEST--n
|
|
delete a key from the keyring
|
|
--SKIPIF--
|
|
<?php if(!class_exists("gnupg")) die("skip"); ?>
|
|
--FILE--
|
|
<?php
|
|
require_once dirname(__FILE__) . "/vars.inc";
|
|
gnupg_test_import();
|
|
|
|
$gpg = new gnupg();
|
|
$gpg->seterrormode(gnupg::ERROR_WARNING);
|
|
$ret = $gpg->deletekey($fingerprint,true);
|
|
var_dump($ret);
|
|
?>
|
|
--EXPECT--
|
|
bool(true)
|