git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Logging: Receive duration on <= lines. Bug 353
[exim.git]
/
src
/
src
/
dkim.c
diff --git
a/src/src/dkim.c
b/src/src/dkim.c
index 8c03d48cef91e56a541866e5c01d8668f18526c5..852ae17f3c5398642139b6f0c7372e2968798013 100644
(file)
--- a/
src/src/dkim.c
+++ b/
src/src/dkim.c
@@
-75,7
+75,8
@@
for (rr = dns_next_rr(&dnsa, &dnss, RESET_ANSWERS);
}
/* check if this looks like a DKIM record */
- if (strncasecmp(answer, "v=dkim", 6) != 0) continue;
+ if (strncmp(answer, "v=", 2) == 0 && strncasecmp(answer, "v=dkim", 6) != 0)
+ continue;
return PDKIM_OK;
}