]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Oops, fix the build
authorVsevolod Stakhov <vsevolod@rspamd.com>
Sat, 18 May 2024 14:23:57 +0000 (15:23 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Sat, 18 May 2024 14:23:57 +0000 (15:23 +0100)
src/libserver/dkim.c

index cff8152b6791fed83df5ac1c3bcae830ffbfc251..6702309ac29d44b7b8baad8ab2c0258724237be0 100644 (file)
@@ -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;
                        }