Fix data corruption during encryption.
authorWerner Koch <wk@gnupg.org>
Fri, 23 Dec 2011 18:36:00 +0000 (19:36 +0100)
committerWerner Koch <wk@gnupg.org>
Fri, 23 Dec 2011 18:36:00 +0000 (19:36 +0100)
commit9373fd7565e30d02e657b8a57388e21ffee37223
tree1116d8bdaa9dc84132a8a568ae53b0e0615f0845
parent5cd7638188ebd01133112dd1ebd1ee5d7a5b9f1b
Fix data corruption during encryption.

That extra write was plainly wrong.  I have no idea, how it slipped
it.  The error comes up with attachments of certain lengths.  For
example with a file length of 13859 bytes.

* src/mimemaker.c (write_b64): Remove a stupid buffer write of 4
bytes.
src/mimemaker.c