Finish fixing CS in gnupg_addsignkey

This commit is contained in:
Jakub Zelenka 2016-10-06 20:45:40 +01:00
parent 759ed9045b
commit ee75e41714

View file

@ -946,7 +946,7 @@ PHP_FUNCTION(gnupg_addsignkey)
gpgme_subkey = gpgme_subkey->next; 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"); GNUPG_ERR("could not add signer");
} else { } else {
RETVAL_TRUE; RETVAL_TRUE;