X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=recvattach.c;h=b9237f80b115c8d185e7af4d82b01a43eeb74220;hp=f65c4e15573975521ff179839441b6e3374f4785;hb=bad8211c28d4b229878e0264012009493db48da5;hpb=e3fcff4c503373a3f98676405783926e387f7139;ds=sidebyside 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.");