aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-02-13 12:55:04 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-02-13 12:55:04 +0000
commitcee9e2c5c7c94f1d1d1c80e5b59ecb24713bab73 (patch)
tree143a67a13e1ab8ea574d3976056673443b6bdfb4 /src
parent01c464caea41d2f584ccb52ff03a7df35a6690ac (diff)
downloadrspamd-cee9e2c5c7c94f1d1d1c80e5b59ecb24713bab73.tar.gz
rspamd-cee9e2c5c7c94f1d1d1c80e5b59ecb24713bab73.zip
[Minor] Fix length argument
Diffstat (limited to 'src')
-rw-r--r--src/libserver/dkim.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libserver/dkim.c b/src/libserver/dkim.c
index fb98c3d63..1bd7ec3d6 100644
--- a/src/libserver/dkim.c
+++ b/src/libserver/dkim.c
@@ -2601,7 +2601,7 @@ rspamd_dkim_check (rspamd_dkim_context_t *ctx,
"body length %d->%d; headers length %d; d=%s; s=%s",
rspamd_dkim_type_to_string (ctx->common.type),
(gint)dlen, raw_digest,
- (gint)dlen, ctx->b,
+ (gint)ctx->blen, ctx->b,
(gint)(body_end - body_start), ctx->common.body_canonicalised,
ctx->common.headers_canonicalised,
ctx->domain, ctx->selector);
@@ -2615,7 +2615,7 @@ rspamd_dkim_check (rspamd_dkim_context_t *ctx,
"body length %d->%d; headers length %d; d=%s; s=%s",
rspamd_dkim_type_to_string (ctx->common.type),
(gint)dlen, raw_digest,
- (gint)dlen, ctx->b,
+ (gint)ctx->blen, ctx->b,
(gint)(body_end - body_start), ctx->common.body_canonicalised,
ctx->common.headers_canonicalised,
ctx->domain, ctx->selector);
@@ -2632,7 +2632,7 @@ rspamd_dkim_check (rspamd_dkim_context_t *ctx,
"body length %d->%d; headers length %d; d=%s; s=%s",
rspamd_dkim_type_to_string (ctx->common.type),
(gint)dlen, raw_digest,
- (gint)dlen, ctx->b,
+ (gint)ctx->blen, ctx->b,
(gint)(body_end - body_start), ctx->common.body_canonicalised,
ctx->common.headers_canonicalised,
ctx->domain, ctx->selector);