diff options
author | Eduardo Chappa <chappa@washington.edu> | 2013-11-18 10:50:17 -0700 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2013-11-18 10:50:17 -0700 |
commit | 186a23ef94452e15aeadf60224300ca16acd4182 (patch) | |
tree | 0fd551a6240e6c2dbc68e6c87ddbed2a2fc4d974 /pith/smime.c | |
parent | ef190f4e45840523a85c366291d65c9973776450 (diff) | |
download | alpine-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/smime.c')
-rw-r--r-- | pith/smime.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pith/smime.c b/pith/smime.c index 532948bf..c0253ba5 100644 --- a/pith/smime.c +++ b/pith/smime.c @@ -1292,7 +1292,8 @@ body_to_bio(BODY *body) * Now need to truncate by two characters since the above * appends CRLF. */ - if((len=BIO_ctrl_pending(bio)) > 1){ + if(ps_global->smime && !ps_global->smime->do_sign + && (len=BIO_ctrl_pending(bio)) > 1){ BUF_MEM *biobuf = NULL; BIO_get_mem_ptr(bio, &biobuf); |