This commit is contained in:
Jakub Zelenka 2018-05-22 17:24:08 +01:00
parent 8c55c26189
commit 99e95d975c

View file

@ -1673,7 +1673,7 @@ PHP_FUNCTION(gnupg_import)
GNUPG_ERR("could not create in-data buffer"); GNUPG_ERR("could not create in-data buffer");
return; return;
} }
if (!PHP_GNUPG_DO(gpgme_op_import(PHPC_THIS->ctx,in))) { if (!PHP_GNUPG_DO(gpgme_op_import(PHPC_THIS->ctx, in))) {
GNUPG_ERR("import failed"); GNUPG_ERR("import failed");
gpgme_data_release(in); gpgme_data_release(in);
return; return;
@ -1728,7 +1728,7 @@ PHP_FUNCTION(gnupg_deletekey)
GNUPG_ERR("get_key failed"); GNUPG_ERR("get_key failed");
return; return;
} }
if (!PHP_GNUPG_DO(gpgme_op_delete(PHPC_THIS->ctx,gpgme_key,allow_secret))) { if (!PHP_GNUPG_DO(gpgme_op_delete(PHPC_THIS->ctx, gpgme_key, allow_secret))) {
GNUPG_ERR("delete failed"); GNUPG_ERR("delete failed");
RETVAL_FALSE; RETVAL_FALSE;
} else { } else {