diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-01-05 20:36:56 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-01-05 20:36:56 +0000 |
commit | 4975494a06b068cadc334462696d0e78d5e0cc54 (patch) | |
tree | 95222ea1ef8d932bbbb7d87718c43090600aa391 /src/dkim.c | |
parent | 6a6da81d2b764ec7aefeb02fdeb0d05351dde80a (diff) | |
download | rspamd-4975494a06b068cadc334462696d0e78d5e0cc54.tar.gz rspamd-4975494a06b068cadc334462696d0e78d5e0cc54.zip |
Fix one more sequence case.
Diffstat (limited to 'src/dkim.c')
-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; |