summaryrefslogtreecommitdiffstats
path: root/headers.c
diff options
context:
space:
mode:
authorAdeodato Simó <asp16@alu.ua.es>2004-08-16 21:37:43 +0000
committerAdeodato Simó <asp16@alu.ua.es>2004-08-16 21:37:43 +0000
commit191b07931a17bb5762e8d9c156565802555b25fb (patch)
tree2d151a755a5055cb31f114ce7a1fa9a00bf43155 /headers.c
parente313244657623f23e5d9a8da698a98e49f57b0b3 (diff)
as of current cvs, setting "PGP: E" (or similar) when header-editing
a message does not work. the OP is set (ENCRYPT, SIGN, whatever) but APPLICATION_PGP is missing.
Diffstat (limited to 'headers.c')
-rw-r--r--headers.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/headers.c b/headers.c
index a05ed63b..67eb25a7 100644
--- a/headers.c
+++ b/headers.c
@@ -181,6 +181,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);
+ if (msg->security)
+ msg->security |= APPLICATION_PGP;
keep = 0;
}