mirror of
https://github.com/php-gnupg/php-gnupg.git
synced 2024-11-22 14:27:09 +00:00
Fix CS in init function
This commit is contained in:
parent
dda2f09054
commit
fcbadeb49b
1 changed files with 1 additions and 2 deletions
3
gnupg.c
3
gnupg.c
|
@ -140,8 +140,7 @@ static void gnupg_res_init(PHPC_THIS_DECLARE(gnupg) TSRMLS_DC)
|
|||
err = gpgme_new(&ctx);
|
||||
if (err == GPG_ERR_NO_ERROR) {
|
||||
#ifdef GNUPG_PATH
|
||||
gpgme_ctx_set_engine_info(\
|
||||
ctx, GPGME_PROTOCOL_OpenPGP, GNUPG_PATH, NULL);
|
||||
gpgme_ctx_set_engine_info(ctx, GPGME_PROTOCOL_OpenPGP, GNUPG_PATH, NULL);
|
||||
#endif
|
||||
gpgme_set_armor(ctx, 1);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue