summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2019-02-05 23:19:00 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2019-02-11 00:17:22 +0000
commitfe12ec888ef7b81ee0f5874ca6201ba11b0e9b19 (patch)
tree6f67321aaf0a54244eb2412d0f6dd3f9af70c83f /src
parent7ab90dd415eac327c57c5ba755b2005a8c0b946f (diff)
DKIM: ensure that dkim_domain elements are lowercased before use. Bug 2371
(cherry picked from commit f3c73adaa541ae54092467a29668ac32894ef1dc)
Diffstat (limited to 'src')
-rw-r--r--src/src/dkim.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/src/dkim.c b/src/src/dkim.c
index a0becd45b..96d7eba81 100644
--- a/src/src/dkim.c
+++ b/src/src/dkim.c
@@ -620,6 +620,7 @@ if (dkim_domain)
/* Only sign once for each domain, no matter how often it
appears in the expanded list. */
+ dkim_signing_domain = string_copylc(dkim_signing_domain);
if (match_isinlist(dkim_signing_domain, CUSS &seen_doms,
0, NULL, NULL, MCL_STRING, TRUE, NULL) == OK)
continue;