]> granicus.if.org Git - mutt/commitdiff
Currently, PGP signing messages will force quoted-printable encoding
authorThomas Roessler <roessler@does-not-exist.org>
Mon, 22 Feb 1999 10:19:30 +0000 (10:19 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Mon, 22 Feb 1999 10:19:30 +0000 (10:19 +0000)
even if we should use base64.

pgp.c

diff --git a/pgp.c b/pgp.c
index e476c29dc5eb89995faefc6ebfbdda4ba8da4d41..5a8ea234ff2176fd4072a3fb26a6add52b6739af 100644 (file)
--- 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;
   }