workaround a stupid issue in how decoding is performed in mutt *sigh*
[apps/madmutt.git] / lib-mime / crypt.c
index 2ef6c42..af64a2c 100644 (file)
@@ -32,9 +32,8 @@
 
 #include <lib-lib/lib-lib.h>
 
 
 #include <lib-lib/lib-lib.h>
 
-#include <lib-crypt/crypt.h>
-
 #include "mime.h"
 #include "mime.h"
+#include "crypt.h"
 
 int mutt_is_multipart_signed(BODY * b)
 {
 
 int mutt_is_multipart_signed(BODY * b)
 {
@@ -117,7 +116,7 @@ int mutt_is_application_pgp (BODY * m)
                 t |= PGPSIGN;
                 break;
 
                 t |= PGPSIGN;
                 break;
 
-              case MIME_PGP_ENCRYPT:
+              case MIME_PGP_ENCRYPTED:
                 t |= PGPENCRYPT;
                 break;
 
                 t |= PGPENCRYPT;
                 break;