From: Vsevolod Stakhov Date: Sun, 5 Jan 2014 20:36:56 +0000 (+0000) Subject: Fix one more sequence case. X-Git-Tag: 0.6.7~24 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4975494a06b068cadc334462696d0e78d5e0cc54;p=rspamd.git Fix one more sequence case. --- 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;