X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib-crypt%2Fcrypt.c;h=f8cf4716a0c2c206a88398f2228b242326c6d10e;hp=5f744eeb192528c59bc665b6ae3b24860d62f32e;hb=923e295d2cd179be0ab05890c9788bb822b1b340;hpb=94319b3ea28c390678a0f7a1d5fbdee8532a6d6e diff --git a/lib-crypt/crypt.c b/lib-crypt/crypt.c index 5f744ee..f8cf471 100644 --- a/lib-crypt/crypt.c +++ b/lib-crypt/crypt.c @@ -299,9 +299,9 @@ void convert_to_7bit (BODY * a) if (a->encoding != ENC7BIT) { a->encoding = ENC7BIT; convert_to_7bit (a->parts); - } - else if (option (OPTPGPSTRICTENC)) + } else { convert_to_7bit (a->parts); + } } else if (a->type == TYPEMESSAGE && m_strcasecmp(a->subtype, "delivery-status")) { @@ -313,8 +313,7 @@ void convert_to_7bit (BODY * a) else if (a->encoding == ENCBINARY) a->encoding = ENCBASE64; else if (a->content && a->encoding != ENCBASE64 && - (a->content->from || (a->content->space && - option (OPTPGPSTRICTENC)))) + (a->content->from || a->content->space)) a->encoding = ENCQUOTEDPRINTABLE; a = a->next; } @@ -328,7 +327,7 @@ void crypt_extract_keys_from_messages (HEADER * h) address_t *tmp = NULL; FILE *fpout; - fpout = m_tempfile(tempfname, sizeof(tempfname), NONULL(Tempdir), NULL); + fpout = m_tempfile(tempfname, sizeof(tempfname), NONULL(MCore.tmpdir), NULL); if (!fpout) { mutt_error(_("Could not create temporary file")); return; @@ -537,7 +536,7 @@ int mutt_signed_handler (BODY * a, STATE * s) crypt_fetch_signatures (&signatures, a->next, &sigcnt); if (sigcnt) { - tempfp = m_tempfile(tempfile, sizeof(tempfile), NONULL(Tempdir), NULL); + tempfp = m_tempfile(tempfile, sizeof(tempfile), NONULL(MCore.tmpdir), NULL); if (!tempfp) { mutt_error(_("Could not create temporary file")); } else {