From: Thomas Roessler Date: Wed, 27 Mar 2002 00:49:10 +0000 (+0000) Subject: Use text/plain; format=... when we are asked to detect inline PGP X-Git-Tag: mutt-1-5-1-rel~31 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=27e5dacf17b3c812bd3acbce6639164c7153545d;p=mutt Use text/plain; format=... when we are asked to detect inline PGP material in in text/plain body parts. --- diff --git a/pgp.c b/pgp.c index 041f4221..2166e248 100644 --- a/pgp.c +++ b/pgp.c @@ -446,11 +446,8 @@ static int pgp_check_traditional_one_body (FILE *fp, BODY *b, int tagged_only) /* fix the content type */ - b->type = TYPEAPPLICATION; - mutt_str_replace (&b->subtype, "pgp"); - - mutt_set_parameter ("format", "text", &b->parameter); - mutt_set_parameter ("x-action", enc ? "encrypt" : "sign", &b->parameter); + mutt_set_parameter ("format", "fixed", &b->parameter); + mutt_set_parameter ("x-action", enc ? "pgp-encrypted" : "pgp-signed", &b->parameter); return 1; }