From aa8fba554f52cfede8db858063aa8805d7d31187 Mon Sep 17 00:00:00 2001 From: Thomas Roessler Date: Mon, 22 Feb 1999 10:19:30 +0000 Subject: [PATCH] Currently, PGP signing messages will force quoted-printable encoding even if we should use base64. --- pgp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pgp.c b/pgp.c index e476c29dc..5a8ea234f 100644 --- a/pgp.c +++ b/pgp.c @@ -1102,7 +1102,9 @@ static void convert_to_7bit (BODY *a) a->encoding = ENCQUOTEDPRINTABLE; else if (a->encoding == ENCBINARY) a->encoding = ENCBASE64; - else if (a->content && (a->content->from || (a->content->space && option (OPTPGPSTRICTENC)))) + else if (a->content && a->encoding != ENCBASE64 && + (a->content->from || (a->content->space && + option (OPTPGPSTRICTENC)))) a->encoding = ENCQUOTEDPRINTABLE; a = a->next; } -- 2.40.0