summaryrefslogtreecommitdiffstats
path: root/headers.c
diff options
context:
space:
mode:
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;
}