mirror of
https://github.com/php-gnupg/php-gnupg.git
synced 2024-11-22 14:27:09 +00:00
19 lines
No EOL
290 B
PHP
19 lines
No EOL
290 B
PHP
--TEST--
|
|
get error
|
|
--SKIPIF--
|
|
<?php if(!class_exists("gnupg")) die("skip"); ?>
|
|
--FILE--
|
|
<?php
|
|
require_once "gnupgt.inc";
|
|
gnupgt::import_key();
|
|
|
|
$gpg = gnupg_init();
|
|
var_dump(gnupg_geterror($gpg));
|
|
?>
|
|
--EXPECT--
|
|
bool(false)
|
|
--CLEAN--
|
|
<?php
|
|
require_once "gnupgt.inc";
|
|
gnupgt::delete_key();
|
|
?>
|