X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=recvattach.c;h=ef8fc1872f5e7b8998e484764a1c7ed7240bef41;hp=198bfa7f762a30db095a28475d7f3e3a7055188a;hb=82589516e2473b5451218d7b00a9dfbc3e18f3ca;hpb=558b0bd9de90a9dc28f409d8f46679bf48c72ded diff --git a/recvattach.c b/recvattach.c index 198bfa7..ef8fc18 100644 --- a/recvattach.c +++ b/recvattach.c @@ -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->