mirror of
https://github.com/php-gnupg/php-gnupg.git
synced 2024-11-22 22:37:10 +00:00
Fix CS
This commit is contained in:
parent
8c55c26189
commit
99e95d975c
1 changed files with 2 additions and 2 deletions
4
gnupg.c
4
gnupg.c
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue