summaryrefslogtreecommitdiff
path: root/pith/send.c
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2013-11-18 10:50:17 -0700
committerEduardo Chappa <chappa@washington.edu>2013-11-18 10:50:17 -0700
commit186a23ef94452e15aeadf60224300ca16acd4182 (patch)
tree0fd551a6240e6c2dbc68e6c87ddbed2a2fc4d974 /pith/send.c
parentef190f4e45840523a85c366291d65c9973776450 (diff)
downloadalpine-186a23ef94452e15aeadf60224300ca16acd4182.tar.xz
* Update to version 2.19.3
* Alpine computes the signature of a signed message on a different message than the one it sends, because of this, messages that are sent can not be validated either in the sent-mail folder, nor in the server that receives such message.
Diffstat (limited to 'pith/send.c')
-rw-r--r--pith/send.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/pith/send.c b/pith/send.c
index ae649ab6..2fab54aa 100644
--- a/pith/send.c
+++ b/pith/send.c
@@ -4264,8 +4264,12 @@ pine_rfc822_output_body(struct mail_bodystruct *body, soutr_t f, void *s)
/*
* Output a bit of text before the first multipart delimiter
* to warn unsuspecting users of non-mime-aware ua's that
- * they should expect weirdness...
+ * they should expect weirdness. We do not add this when signing a
+ * message, though...
*/
+#ifdef SMIME
+ if(ps_global->smime && !ps_global->smime->do_sign)
+#endif
if(f && !(*f)(s, " This message is in MIME format. The first part should be readable text,\015\012 while the remaining parts are likely unreadable without MIME-aware tools.\015\012\015\012"))
return(0);