blob: cd611cd617bee6fbce6de8583aabb039af44da40 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
From: Antonio Radici <antonio@debian.org>
Date: Thu, 27 Feb 2014 16:50:21 +0100
Subject: 548577-gpgme-1.2
This patch fixes upstream bug http://bugs.mutt.org/3300,
so that Mutt will be able to open pgp crypted/signed
message with gpgme.
Gbp-Pq: Topic upstream
---
init.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/init.c b/init.c
index b08439e..d82772c 100644
--- a/init.c
+++ b/init.c
@@ -53,6 +53,10 @@
#include <sys/wait.h>
#include <sys/time.h>
+#if defined(CRYPT_BACKEND_GPGME)
+#include <gpgme.h>
+#endif
+
#define CHECK_PAGER \
if ((CurrentMenu == MENU_PAGER) && (idx >= 0) && \
(MuttVars[idx].flags & R_RESORT)) \
@@ -3255,6 +3259,10 @@ void mutt_init (int skip_sys_rc, LIST *commands)
mutt_read_histfile ();
+#ifdef CRYPT_BACKEND_GPGME
+ gpgme_check_version (NULL);
+#endif
+
#if 0
set_option (OPTWEED); /* turn weeding on by default */
#endif
|