Revert "DKIM: reduce memory usage"
authorJeremy Harris <jgh146exb@wizmail.org>
Sun, 7 Aug 2016 22:19:02 +0000 (23:19 +0100)
committerJeremy Harris <jgh146exb@wizmail.org>
Sun, 7 Aug 2016 22:19:02 +0000 (23:19 +0100)
commit5899e332cfbf8e85f23256203ab0b802b47a22d1
tree54f425edf19c1f684d69efe61ffcbc35f2671c6f
parent58fc5fb2eec65bc0b1c7f5e571e3c534cf008b88
Revert "DKIM: reduce memory usage"

This reverts commit dea4897244b409bf91dc60a7e5e4b3d06f123dd6.
It appears to induce spurious behaviour, seen in the testsuite.  Possibly
the sha_hash update calls think the memory they are passed will still
be around later (eg. at sha_finish time)?   A pity, since currently
we are allocating for the entire message body - which could easily
be MB or (future) GB.
src/src/pdkim/pdkim.c