From da03741809f6c2666194f668d2f8db290c90f73a Mon Sep 17 00:00:00 2001 From: Rasmus Lerdorf Date: Sun, 29 Jan 2012 02:42:28 +0000 Subject: [PATCH] Fix bug #60916 --- gnupg.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gnupg.c b/gnupg.c index 05aa9ee..739ccc6 100644 --- a/gnupg.c +++ b/gnupg.c @@ -137,6 +137,9 @@ static void gnupg_res_init(gnupg_object *intern TSRMLS_DC){ gpgme_ctx_t ctx; gpgme_check_version (NULL); gpgme_new (&ctx); +#ifdef GNUPG_PATH + gpgme_ctx_set_engine_info(ctx, GPGME_PROTOCOL_OpenPGP, GNUPG_PATH, NULL); +#endif gpgme_set_armor (ctx,1); intern->ctx = ctx; intern->encryptkeys = NULL;