From: Vsevolod Stakhov Date: Sat, 18 May 2024 14:23:57 +0000 (+0100) Subject: [Minor] Oops, fix the build X-Git-Tag: 3.9.0~37^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c77ae3282869e444cd9063b089659683715f9faa;p=thirdparty%2Frspamd.git [Minor] Oops, fix the build --- diff --git a/src/libserver/dkim.c b/src/libserver/dkim.c index cff8152b67..6702309ac2 100644 --- a/src/libserver/dkim.c +++ b/src/libserver/dkim.c @@ -2733,7 +2733,7 @@ rspamd_dkim_check(rspamd_dkim_context_t *ctx, if (!cached_bh->digest_normal) { /* Start canonization of body part */ - if (!rspamd_dkim_canonize_body(&ctx->common, body_start, body_end, + if (!rspamd_dkim_canonize_body(task, &ctx->common, body_start, body_end, FALSE)) { res->rcode = DKIM_RECORD_ERROR; return res; @@ -3356,7 +3356,7 @@ rspamd_dkim_sign(struct rspamd_task *task, const char *selector, if (!cached_bh->digest_normal) { /* Start canonization of body part */ - if (!rspamd_dkim_canonize_body(&ctx->common, body_start, body_end, + if (!rspamd_dkim_canonize_body(task, &ctx->common, body_start, body_end, TRUE)) { return NULL; }