aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libserver/dkim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/dkim.c b/src/libserver/dkim.c
index 00b633b18..33459adc0 100644
--- a/src/libserver/dkim.c
+++ b/src/libserver/dkim.c
@@ -1869,7 +1869,7 @@ rspamd_dkim_check (rspamd_dkim_context_t *ctx,
EVP_MD_CTX_reset (cpy_ctx);
#endif
EVP_MD_CTX_copy (cpy_ctx, ctx->common.body_hash);
- EVP_DigestUpdate (cpy_ctx, "\n", 2);
+ EVP_DigestUpdate (cpy_ctx, "\n", 1);
EVP_DigestFinal_ex (cpy_ctx, raw_digest, NULL);
if (memcmp (ctx->bh, raw_digest, ctx->bhlen) != 0) {