php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #60916
Patch gnupg-gpg1.patch revision 2012-01-28 09:56 UTC by fedora at famillecollet dot com

Patch gnupg-gpg1.patch for gnupg Bug #60916

Patch version 2012-01-28 09:56 UTC

Return to Bug #60916 | Download this patch
Patch Revisions:

Developer: fedora@famillecollet.com

diff -up gnupg-1.3.2/gnupg.c.orig gnupg-1.3.2/gnupg.c
--- gnupg-1.3.2/gnupg.c.orig	2012-01-28 10:24:09.763192106 +0100
+++ gnupg-1.3.2/gnupg.c	2012-01-28 10:25:36.644195977 +0100
@@ -137,6 +137,9 @@ static void gnupg_res_init(gnupg_object
 	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;
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 07:01:30 2024 UTC