aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/dkim.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libserver/dkim.c')
-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 43b0f6268..fe7e5e8ea 100644
--- a/src/libserver/dkim.c
+++ b/src/libserver/dkim.c
@@ -1747,7 +1747,7 @@ rspamd_dkim_canonize_header (struct rspamd_dkim_common_ctx *ctx,
}
PTR_ARRAY_FOREACH (ar, i, rh) {
- if (rspamd_substring_search_twoway (rh->raw_value,
+ if (rspamd_substring_search (rh->raw_value,
rh->raw_len, dkim_domain,
strlen (dkim_domain)) != -1) {
rspamd_dkim_signature_update (ctx, rh->raw_value,