From ee75e41714cd456be4acc2656d958d4463c9310b Mon Sep 17 00:00:00 2001 From: Jakub Zelenka Date: Thu, 6 Oct 2016 20:45:40 +0100 Subject: [PATCH] Finish fixing CS in gnupg_addsignkey --- gnupg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnupg.c b/gnupg.c index ce54a93..f83f5e1 100644 --- a/gnupg.c +++ b/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;