projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rocco Rutte:
[apps/madmutt.git]
/
headers.c
diff --git
a/headers.c
b/headers.c
index
4492bf7
..
6283081
100644
(file)
--- a/
headers.c
+++ b/
headers.c
@@
-16,6
+16,10
@@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*/
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*/
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include "mutt.h"
#include "mutt_crypt.h"
#include "mutt_idna.h"
#include "mutt.h"
#include "mutt_crypt.h"
#include "mutt_idna.h"
@@
-184,6
+188,8
@@
void mutt_edit_headers (const char *editor,
&&ascii_strncasecmp ("pgp:", cur->data, 4) == 0)
{
msg->security = mutt_parse_crypt_hdr (cur->data + 4, 0);
&&ascii_strncasecmp ("pgp:", cur->data, 4) == 0)
{
msg->security = mutt_parse_crypt_hdr (cur->data + 4, 0);
+ if (msg->security)
+ msg->security |= APPLICATION_PGP;
keep = 0;
}
keep = 0;
}