diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2016-08-07 23:19:02 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2016-08-07 23:19:02 +0100 |
commit | 5899e332cfbf8e85f23256203ab0b802b47a22d1 (patch) | |
tree | 54f425edf19c1f684d69efe61ffcbc35f2671c6f | |
parent | 58fc5fb2eec65bc0b1c7f5e571e3c534cf008b88 (diff) |
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.
-rw-r--r-- | src/src/pdkim/pdkim.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/src/pdkim/pdkim.c b/src/src/pdkim/pdkim.c index 09a745a25..f468d232b 100644 --- a/src/src/pdkim/pdkim.c +++ b/src/src/pdkim/pdkim.c @@ -767,7 +767,6 @@ while (sig) sig = sig->next; } -if (relaxed_data) store_reset(relaxed_data); return PDKIM_OK; } |