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
tidying
[exim.git]
/
src
/
src
/
dkim.c
diff --git
a/src/src/dkim.c
b/src/src/dkim.c
index 33e7bc84cdc134d89111f7d4ece0e8d9d4c41bb6..2857e63980cc2eedfdf54d75b1819931a3dff253 100644
(file)
--- a/
src/src/dkim.c
+++ b/
src/src/dkim.c
@@
-48,7
+48,7
@@
for (rr = dns_next_rr(&dnsa, &dnss, RESET_ANSWERS);
uschar len = rr->data[rr_offset++];
snprintf(answer + answer_offset,
PDKIM_DNS_TXT_MAX_RECLEN - answer_offset,
uschar len = rr->data[rr_offset++];
snprintf(answer + answer_offset,
PDKIM_DNS_TXT_MAX_RECLEN - answer_offset,
- "%.*s", (int)len,
(char *)
(rr->data + rr_offset));
+ "%.*s", (int)len,
CS
(rr->data + rr_offset));
rr_offset += len;
answer_offset += len;
if (answer_offset >= PDKIM_DNS_TXT_MAX_RECLEN)
rr_offset += len;
answer_offset += len;
if (answer_offset >= PDKIM_DNS_TXT_MAX_RECLEN)
@@
-104,7
+104,7
@@
int rc;
store_pool = POOL_PERM;
if ( dkim_collect_input
store_pool = POOL_PERM;
if ( dkim_collect_input
- && (rc = pdkim_feed(dkim_verify_ctx,
CS
data, len)) != PDKIM_OK)
+ && (rc = pdkim_feed(dkim_verify_ctx, data, len)) != PDKIM_OK)
{
dkim_collect_error = pdkim_errstr(rc);
log_write(0, LOG_MAIN,
{
dkim_collect_error = pdkim_errstr(rc);
log_write(0, LOG_MAIN,
@@
-475,7
+475,7
@@
pdkim_signature *signature;
int pdkim_canon;
int pdkim_rc;
int sread;
int pdkim_canon;
int pdkim_rc;
int sread;
-char buf[4096];
+
us
char buf[4096];
int save_errno = 0;
int old_pool = store_pool;
int save_errno = 0;
int old_pool = store_pool;