]> granicus.if.org Git - mutt/commitdiff
Try to fix a PGP / S/MIME-related problem. Found by Matt Larson
authorThomas Roessler <roessler@does-not-exist.org>
Fri, 11 Apr 2003 11:56:22 +0000 (11:56 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Fri, 11 Apr 2003 11:56:22 +0000 (11:56 +0000)
<mlarson@verisign.com>, tracekd down by RenĂ© Clerc <rene@clerc.nl>.

send.c

diff --git a/send.c b/send.c
index c73e5576f31079d2e62ee4c2e8820ff3d2b5f0d3..31a878e8b881f998304bbc9caf48c9ccc8bc7082 100644 (file)
--- a/send.c
+++ b/send.c
@@ -1268,7 +1268,7 @@ ci_send_message (int flags,               /* send mode */
       }
       if ((WithCrypto & APPLICATION_SMIME)
           && !(cur->security & (APPLICATION_PGP|APPLICATION_SMIME)))
-       msg->security |= APPLICATION_PGP;
+       msg->security |= APPLICATION_SMIME;
     }
     else if ((WithCrypto & APPLICATION_PGP) && msg->security)
     {