<<< Date Index >>>     <<< Thread Index >>>

S/MIME problem with messages from German Netscape



Hello,

there's a problem with reading signed and encrypted messages from a
German version of Netscape 4.x on Microsoft Windows.

This version puts a translated version of "S/MIME Encrypted Message" in
the header which causes Mutt to fail. It's "Mit S/MIME verschlusselte
Nachricht".

So: Please apply the given patch which incudes this German translation.
I know, it's a hack, but what should we do?

Regards
Bernhard

diff -u mutt-1.5.6.orig/crypt.c mutt-1.5.6/crypt.c
--- mutt-1.5.6.orig/crypt.c     2004-05-30 13:32:37.000000000 +0200
+++ mutt-1.5.6/crypt.c  2004-05-30 13:33:59.000000000 +0200
@@ -417,7 +417,8 @@
        * Content-Description: S/MIME Encrypted Message
        * instead of Content-Type parameter
        */
-      if (!ascii_strcasecmp (m->description, "S/MIME Encrypted Message"))
+      if (!ascii_strcasecmp (m->description, "S/MIME Encrypted Message")
+          || !ascii_strcasecmp (m->description, "Mit S/MIME verschlusselte 
Nachricht"))
        return SMIMEENCRYPT;
       complain = 1;
     }

Attachment: pgpPDjDPa6nLk.pgp
Description: PGP signature