mirror of
https://github.com/php-gnupg/php-gnupg.git
synced 2024-11-22 14:27:09 +00:00
Finish fixing CS in gnupg_addsignkey
This commit is contained in:
parent
759ed9045b
commit
ee75e41714
1 changed files with 1 additions and 1 deletions
2
gnupg.c
2
gnupg.c
|
@ -946,7 +946,7 @@ PHP_FUNCTION(gnupg_addsignkey)
|
|||
gpgme_subkey = gpgme_subkey->next;
|
||||
}
|
||||
}
|
||||
if ((PHPC_THIS->err = gpgme_signers_add(PHPC_THIS->ctx, gpgme_key)) != GPG_ERR_NO_ERROR) {
|
||||
if (!PHP_GNUPG_DO(gpgme_signers_add(PHPC_THIS->ctx, gpgme_key))) {
|
||||
GNUPG_ERR("could not add signer");
|
||||
} else {
|
||||
RETVAL_TRUE;
|
||||
|
|
Loading…
Reference in a new issue