diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/dkim.c | 5 |
1 files changed, 5 insertions, 0 deletions
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; |