projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
merge crypt back into $top_builddir :)
[apps/madmutt.git]
/
recvattach.c
diff --git
a/recvattach.c
b/recvattach.c
index
198bfa7
..
e2fbd41
100644
(file)
--- a/
recvattach.c
+++ b/
recvattach.c
@@
-17,9
+17,9
@@
#include <lib-ui/enter.h>
#include <lib-ui/menu.h>
#include <lib-mx/mx.h>
#include <lib-ui/enter.h>
#include <lib-ui/menu.h>
#include <lib-mx/mx.h>
-#include <lib-crypt/crypt.h>
#include "mutt.h"
#include "mutt.h"
+#include "crypt.h"
#include "handler.h"
#include "recvattach.h"
#include "attach.h"
#include "handler.h"
#include "recvattach.h"
#include "attach.h"
@@
-825,10
+825,6
@@
void mutt_view_attachments (HEADER * hdr)
{
need_secured = 1;
{
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);
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;
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->
case OP_EXTRACT_KEYS:
crypt_pgp_extract_keys_from_attachment_list (fp, menu->tagprefix,
menu->