X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=headers.c;h=6283081ffa9d0b359a0d616365c96e9adb3a147e;hp=4492bf7d9f5217546d7deebba2aa1c5d0e1e7fd3;hb=4b31579af880a5442699fb93f30e0b3127d37c57;hpb=6833ce8bdca2d64e14485118f2a4417b7e1cb1b1 diff --git a/headers.c b/headers.c index 4492bf7..6283081 100644 --- a/headers.c +++ b/headers.c @@ -16,6 +16,10 @@ * 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" @@ -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); + if (msg->security) + msg->security |= APPLICATION_PGP; keep = 0; }