merge crypt back into $top_builddir :)
[apps/madmutt.git] / postpone.c
index 165438d..485b44f 100644 (file)
@@ -23,7 +23,7 @@
 #include "handler.h"
 #include "sort.h"
 #include "thread.h"
-#include <lib-crypt/crypt.h>
+#include "crypt.h"
 
 #include <imap/imap.h>
 
@@ -508,9 +508,6 @@ int mutt_prepare_template (FILE * fp, CONTEXT * ctx, HEADER * newhdr,
   {
     int ccap = (APPLICATION_PGP | APPLICATION_SMIME) & hdr->security;
     newhdr->security |= ENCRYPT | ccap;
-    if (!crypt_valid_passphrase (ccap))
-      goto err;
-
     mutt_message _("Decrypting message...");
 
     if (((ccap & APPLICATION_PGP)