summaryrefslogtreecommitdiff
path: root/pith
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2015-02-28 15:59:56 -0700
committerEduardo Chappa <chappa@washington.edu>2015-02-28 15:59:56 -0700
commitc2af1608456087b5d9475e3b288a12554214c221 (patch)
tree6b691ebc599503249ebc0cf697eb35f2bacf5c98 /pith
parent4db5ba9a511564e4a3cb3d2b67bce4bb171eae4f (diff)
downloadalpine-c2af1608456087b5d9475e3b288a12554214c221.tar.xz
* new version 2.20.2
* Further enhancement to the configure script in finding the location of the SSL include and library files, when they are installed in th e default location by openssl. * When Alpine sends an attachment, it will set the boundary attribute in lower case, as some SMTP servers, such as those of libero.it reject messages if the boundary attribute is in uppercase. * Alpine fails to remove temporary files used during a display or sending filter. Fix contributed by Phil Brooke. * SMIME: Crash when checking the signature of a message that contains a RFC822 attached message. Reported by Holger Trapp and Bjorn Krellner.
Diffstat (limited to 'pith')
-rw-r--r--pith/pine.hlp30
-rw-r--r--pith/send.c2
-rw-r--r--pith/smime.c10
3 files changed, 28 insertions, 14 deletions
diff --git a/pith/pine.hlp b/pith/pine.hlp
index f360dda6..4b0acfeb 100644
--- a/pith/pine.hlp
+++ b/pith/pine.hlp
@@ -140,7 +140,7 @@ with help text for the config screen and the composer that didn't have any
reasonable place to be called from.
Dummy change to get revision in pine.hlp
============= h_revision =================
-Alpine Commit 68 2015-01-25 18:52:07
+Alpine Commit 69 2015-02-28 15:59:49
============= h_news =================
<HTML>
<HEAD>
@@ -180,29 +180,39 @@ addresses bugs found in previous releases and has a few additions as well.
Additions include:
<UL>
<LI> Ignore message from smtp server after a successful authentication
- challenge.
+ challenge.
<LI> If SSLDIR is defined somehow, do not disable S/MIME if the
- SSLCERTSDIR is not found.
+ SSLCERTSDIR is not found.
+ <LI> When Alpine sends an attachment, it will set the boundary attribute
+ in lower case, as some SMTP servers, such as those of libero.it
+ reject messages if the boundary attribute is in uppercase.
</UL>
<P>
Bugs that have been addressed include:
<UL>
+ <LI> SMIME: Crash when checking the signature of a message that contains
+ a RFC822 attached message. Reported by Holger Trapp and Bj&ouml;rn
+ Krellner.
+
<LI> Alpine would not set include and lib paths for OpenSSL if this was
- installed in /usr/local/ssl.
+ installed in /usr/local/ssl.
<LI> If the .pinerc file is a symbolic link, Alpine might not write its
- contents when saving its configuration.
+ contents when saving its configuration.
<LI> The _INIT_ token does not skip over non-alpha numeric characters in
- the name. Reported by Andreas Fehr.
+ the name. Reported by Andreas Fehr.
<LI> Mismatch in size of UCS and CELL caused a corruption in the
- content of a pointer, which made the speller in PC-Alpine get
- the content of a word incorrectly.
+ content of a pointer, which made the speller in PC-Alpine get the
+ content of a word incorrectly.
+
+ <LI> Skip testing openssl compatibility version when cross-compilation
+ is detected. Fix contributed by Antti Sepp&auml;l&auml;
- <LI> Skip testing openssl compatibility version when cross-compilation
- is detected. Fix contributed by Antti Seppälä.
+ <LI> Alpine fails to remove temporary files used during a display or sending
+ filter. Fix contributed by Phil Brooke.
</UL>
diff --git a/pith/send.c b/pith/send.c
index dac18579..5495a80b 100644
--- a/pith/send.c
+++ b/pith/send.c
@@ -2906,7 +2906,7 @@ pine_encode_body (struct mail_bodystruct *body)
snprintf (tmp,sizeof(tmp),"%ld-%ld-%ld=:%ld",gethostid (),random (),(long) time (0),
(long) getpid ());
tmp[sizeof(tmp)-1] = '\0';
- set_parameter(&body->parameter, "BOUNDARY", tmp);
+ set_parameter(&body->parameter, "boundary", tmp);
}
if(freethis)
diff --git a/pith/smime.c b/pith/smime.c
index a731df34..3482e045 100644
--- a/pith/smime.c
+++ b/pith/smime.c
@@ -2829,15 +2829,19 @@ do_detached_signature_verify(BODY *b, long msgno, char *section)
char *h = (char *) so_text(msg_so);
char *bstart = strstr(h, "\r\n\r\n");
ENVELOPE *env;
- BODY *body;
+ BODY *body, *tmpB;
bstart += 4;
INIT(&bs, mail_string, bstart, tlen);
- rfc822_parse_msg_full(&env, &body, h, bstart-h, &bs, BADHOST, 0, 0);
+ rfc822_parse_msg_full(&env, &body, h, bstart-h-4, &bs, BADHOST, 0, 0);
mail_free_envelope(&env);
mail_free_body_part(&b->nested.part);
- b->nested.part = mail_body_section(body, section)->nested.part;
+ tmpB = mail_body_section(body, section);
+ if(MIME_MSG(tmpB->type, tmpB->subtype))
+ b->nested.part = tmpB->nested.msg->body->nested.part;
+ else
+ b->nested.part = tmpB->nested.part;
create_local_cache(bstart, bstart, &b->nested.part->body, 1);
modified_the_body = 1;