X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=attach.c;h=db791f5caf9f0b98560e9b93e18515fb2a31fb59;hp=d42e47a2f66418730c5caac46ce3929d0c500e1e;hb=1e73e3243b4a748ee98b58f6f2512a14785bb36d;hpb=558b0bd9de90a9dc28f409d8f46679bf48c72ded diff --git a/attach.c b/attach.c index d42e47a..db791f5 100644 --- a/attach.c +++ b/attach.c @@ -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);