X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=recvattach.c;h=b9237f80b115c8d185e7af4d82b01a43eeb74220;hp=f65c4e15573975521ff179839441b6e3374f4785;hb=afa60149c4d2bb71c8195091d3658b3bdc12d59d;hpb=873ab02a290cf65ebc01986188c20c3760353db3 diff --git a/recvattach.c b/recvattach.c index f65c4e1..b9237f8 100644 --- a/recvattach.c +++ b/recvattach.c @@ -1077,7 +1077,7 @@ void mutt_view_attachments (HEADER * hdr) } #endif - if (WithCrypto && hdr->security) { + if (WithCrypto && (hdr->security & (~PGP_TRADITIONAL_CHECKED))) { mutt_message _ ("Deletion of attachments from encrypted messages is unsupported.");