From 5899e332cfbf8e85f23256203ab0b802b47a22d1 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sun, 7 Aug 2016 23:19:02 +0100 Subject: 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 | 1 - 1 file changed, 1 deletion(-) 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; } -- cgit v1.2.3