X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=sendlib.c;h=152862bea36c2f886bcd8c6872b0a16e6e5a9f48;hp=e45ad112fbbee4c8cf0187a678731dfe5c4f981d;hb=b64de2dbabed6d8776dfb6f048401dc6f67ec79e;hpb=2bc76f88e99c16e773c2b2ba805a0bf3e2c034fd diff --git a/sendlib.c b/sendlib.c index e45ad11..152862b 100644 --- a/sendlib.c +++ b/sendlib.c @@ -1107,8 +1107,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); @@ -1977,12 +1975,7 @@ void mutt_prepare_envelope (ENVELOPE * env, int final) rfc2047_encode_adrlist(env->reply_to, "Reply-To"); if (env->subject) -#ifdef USE_NNTP - if (!option (OPTNEWSSEND) || option (OPTMIMESUBJECT)) -#endif - { - rfc2047_encode_string (&env->subject); - } + rfc2047_encode_string (&env->subject); encode_headers (env->userhdrs); }