Nico Golde:
[apps/madmutt.git] / headers.c
index 4492bf7..6283081 100644 (file)
--- a/headers.c
+++ b/headers.c
  *     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;
     }