From 191b07931a17bb5762e8d9c156565802555b25fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adeodato=20Sim=C3=B3?= Date: Mon, 16 Aug 2004 21:37:43 +0000 Subject: 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. --- headers.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'headers.c') 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; } -- cgit v1.2.3