From 4975494a06b068cadc334462696d0e78d5e0cc54 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sun, 5 Jan 2014 20:36:56 +0000 Subject: [PATCH] Fix one more sequence case. --- src/dkim.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/dkim.c b/src/dkim.c index e40c6969e..bd57cd232 100644 --- a/src/dkim.c +++ b/src/dkim.c @@ -1369,6 +1369,11 @@ rspamd_dkim_check (rspamd_dkim_context_t *ctx, rspamd_dkim_key_t *key, struct wo headers_end = p + 1; break; } + else if (got_lf) { + /* \n\r\n */ + headers_end = p + 1; + break; + } else { /* Set got crlf flag */ got_crlf = TRUE; -- 2.39.5