X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=attach.c;h=1750e26f8da198e952d5fba9f7d270cd4725b76f;hb=73359dc55ff8f4da32149f7270f7ceaccd658256;hp=d42e47a2f66418730c5caac46ce3929d0c500e1e;hpb=558b0bd9de90a9dc28f409d8f46679bf48c72ded;p=apps%2Fmadmutt.git diff --git a/attach.c b/attach.c index d42e47a..1750e26 100644 --- a/attach.c +++ b/attach.c @@ -22,7 +22,7 @@ #include "keymap.h" #include "pager.h" #include "copy.h" -#include +#include "crypt.h" int mutt_get_tmp_attachment (BODY * a) { @@ -370,9 +370,6 @@ int mutt_view_attachment (FILE * fp, BODY * a, int flag, HEADER * hdr, int pagerfd = -1; is_message = mutt_is_message_type(a); - if (is_message && a->hdr && (a->hdr->security & ENCRYPT) && - !crypt_valid_passphrase (a->hdr->security)) - return (rc); use_mailcap = (flag == M_MAILCAP || (flag == M_REGULAR && rfc1524_mailcap_isneeded(a))); snprintf (type, sizeof (type), "%s/%s", TYPE (a), a->subtype);