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-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5a6a615e89c86ee676889f4f70b7fcd366fa1c19;p=neomutt 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 041f42218..2166e248c 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; }