summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2016-08-07 23:19:02 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2016-08-07 23:19:02 +0100
commit5899e332cfbf8e85f23256203ab0b802b47a22d1 (patch)
tree54f425edf19c1f684d69efe61ffcbc35f2671c6f /src
parent58fc5fb2eec65bc0b1c7f5e571e3c534cf008b88 (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.
Diffstat (limited to 'src')
-rw-r--r--src/src/pdkim/pdkim.c1
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;
}