X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=recvattach.c;h=e2fbd41fe0e229ea80160d24dc027f414ac836ad;hp=198bfa7f762a30db095a28475d7f3e3a7055188a;hb=d6390d86146aebd0e2eacb4674a49954514edaff;hpb=558b0bd9de90a9dc28f409d8f46679bf48c72ded diff --git a/recvattach.c b/recvattach.c index 198bfa7..e2fbd41 100644 --- a/recvattach.c +++ b/recvattach.c @@ -17,9 +17,9 @@ #include #include #include -#include #include "mutt.h" +#include "crypt.h" #include "handler.h" #include "recvattach.h" #include "attach.h" @@ -825,10 +825,6 @@ void mutt_view_attachments (HEADER * hdr) { need_secured = 1; - if ((hdr->security & ENCRYPT) && !crypt_valid_passphrase (hdr->security)) { - mx_close_message (&msg); - return; - } if (hdr->security & APPLICATION_SMIME) { if (hdr->env) crypt_smime_getkeys (hdr->env); @@ -935,10 +931,6 @@ void mutt_view_attachments (HEADER * hdr) mutt_update_attach_index (cur, &idx, &idxlen, &idxmax, menu); break; - case OP_FORGET_PASSPHRASE: - crypt_forget_passphrase (); - break; - case OP_EXTRACT_KEYS: crypt_pgp_extract_keys_from_attachment_list (fp, menu->tagprefix, menu->