aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2012-08-09 15:40:26 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2012-08-09 15:40:26 +0400
commitd8ea3f8e6b1526a9b1861ff185803e933e19f53f (patch)
tree82d28aa03c53405f4479b4d002f906a72836ca2d /src
parent7436cc35e6097f8703218abfad7d140d7656c72a (diff)
downloadrspamd-d8ea3f8e6b1526a9b1861ff185803e933e19f53f.tar.gz
rspamd-d8ea3f8e6b1526a9b1861ff185803e933e19f53f.zip
Do not append CRLF in case of relaxed canonization algorithm. Pointed out by Vlad via irc.
Diffstat (limited to 'src')
-rw-r--r--src/dkim.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dkim.c b/src/dkim.c
index 7d4d91471..92359fc0b 100644
--- a/src/dkim.c
+++ b/src/dkim.c
@@ -890,6 +890,7 @@ rspamd_dkim_canonize_body (rspamd_dkim_context_t *ctx, const gchar *start, const
}
else {
while (rspamd_dkim_relaxed_body_step (ctx->body_hash, &start, end - start + 1));
+ return TRUE;
}
if (*end != '\n' || *(end - 1) != '\r') {
msg_debug ("append CRLF");