X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=sendlib.c;h=328aa2b59889f63269b8d27fe0478c90e5c861ee;hb=576172ff50f9dd94dd2f5cc91d247c1e50dbe7fc;hp=a81949c5bf89ae933201051cc1f15380b10527a7;hpb=923e295d2cd179be0ab05890c9788bb822b1b340;p=apps%2Fmadmutt.git diff --git a/sendlib.c b/sendlib.c index a81949c..328aa2b 100644 --- a/sendlib.c +++ b/sendlib.c @@ -18,10 +18,9 @@ #include #include -#include - #include "mutt.h" #include "handler.h" +#include "crypt.h" #include "recvattach.h" #include "copy.h" #include "pager.h" @@ -1107,8 +1106,6 @@ BODY *mutt_make_message_attach (CONTEXT * ctx, HEADER * hdr, int attach_msg) if ((option (OPTMIMEFORWDECODE) || option (OPTFORWDECRYPT)) && (hdr->security & ENCRYPT)) { - if (!crypt_valid_passphrase (hdr->security)) - return (NULL); } fp = m_tempfile(buffer, sizeof(buffer), NONULL(MCore.tmpdir), NULL);