definition of separate passphrases per signkey is now possible

setsignkey now takes an optional second parameter for the passphrase
setpassphrase was removed
This commit is contained in:
Thilo Raufeisen 2005-10-24 20:40:55 +00:00
parent d927552662
commit 012e445989
2 changed files with 34 additions and 38 deletions

View file

@ -38,12 +38,12 @@ extern zend_module_entry gnupg_module_entry;
typedef struct _gnupg_object{
gpgme_ctx_t ctx;
zval passphrase;
gpgme_error_t err;
char* errortxt;
int signmode;
gpgme_key_t *encryptkeys;
unsigned int encrypt_size;
HashTable *signkeys;
} gnupg_object;
typedef struct _ze_gnupg_object{
@ -61,7 +61,6 @@ PHP_FUNCTION(gnupg_construct);
PHP_FUNCTION(gnupg_keyinfo);
PHP_FUNCTION(gnupg_verify);
PHP_FUNCTION(gnupg_geterror);
PHP_FUNCTION(gnupg_setpassphrase);
PHP_FUNCTION(gnupg_setsignmode);
PHP_FUNCTION(gnupg_setarmor);
PHP_FUNCTION(gnupg_sign);