Fix CS in init function

This commit is contained in:
Jakub Zelenka 2016-12-13 18:27:36 +00:00
parent dda2f09054
commit fcbadeb49b

View file

@ -140,8 +140,7 @@ static void gnupg_res_init(PHPC_THIS_DECLARE(gnupg) TSRMLS_DC)
err = gpgme_new(&ctx); err = gpgme_new(&ctx);
if (err == GPG_ERR_NO_ERROR) { if (err == GPG_ERR_NO_ERROR) {
#ifdef GNUPG_PATH #ifdef GNUPG_PATH
gpgme_ctx_set_engine_info(\ gpgme_ctx_set_engine_info(ctx, GPGME_PROTOCOL_OpenPGP, GNUPG_PATH, NULL);
ctx, GPGME_PROTOCOL_OpenPGP, GNUPG_PATH, NULL);
#endif #endif
gpgme_set_armor(ctx, 1); gpgme_set_armor(ctx, 1);
} }