mirror of
https://github.com/php-gnupg/php-gnupg.git
synced 2026-02-04 13:21:34 +00:00
added seterrormode
fixed freeing of encryptkeys
This commit is contained in:
parent
6d0723bba0
commit
315ad0ecbf
2 changed files with 48 additions and 4 deletions
|
|
@ -40,7 +40,7 @@ typedef struct gnupg_object{
|
|||
zend_object zo;
|
||||
gpgme_ctx_t ctx;
|
||||
gpgme_error_t err;
|
||||
int error_mode;
|
||||
int errormode;
|
||||
char* errortxt;
|
||||
int signmode;
|
||||
gpgme_key_t *encryptkeys;
|
||||
|
|
@ -79,6 +79,7 @@ PHP_FUNCTION(gnupg_adddecryptkey);
|
|||
PHP_FUNCTION(gnupg_deletekey);
|
||||
PHP_FUNCTION(gnupg_gettrustlist);
|
||||
PHP_FUNCTION(gnupg_listsignatures);
|
||||
PHP_FUNCTION(gnupg_seterrormode);
|
||||
|
||||
#ifdef ZTS
|
||||
#define GNUPG_G(v) TSRMG(gnupg_globals_id, zend_gnupg_globals *, v)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue