From: Tom Kistner Date: Tue, 30 Sep 2008 09:10:45 +0000 (+0000) Subject: Debug checkin - tracing DKIM signing problems X-Git-Tag: DEVEL_PDKIM_START~19 X-Git-Url: https://git.exim.org/users/heiko/exim.git/commitdiff_plain/e2964b35e6e6cdd6ec54f03b0cd462d3bd9f9a73?ds=sidebyside Debug checkin - tracing DKIM signing problems --- diff --git a/src/src/dkim-exim.c b/src/src/dkim-exim.c index 989c769f8..86e538f1c 100755 --- a/src/src/dkim-exim.c +++ b/src/src/dkim-exim.c @@ -1,4 +1,4 @@ -/* $Cambridge: exim/src/src/dkim-exim.c,v 1.2 2007/10/09 14:10:34 tom Exp $ */ +/* $Cambridge: exim/src/src/dkim-exim.c,v 1.3 2008/09/30 09:10:45 tom Exp $ */ /************************************************* * Exim - an Internet mail transport agent * @@ -425,6 +425,8 @@ uschar *dkim_exim_sign(int dkim_fd, while (pos < sread) { c = buf[pos++]; + debug_printf("POS %08u CHAR %02x\n",(unsigned int)pos,(unsigned int)(c)); + if ((c == '.') && seen_lfdot) { /* escaped dot, write "\n.", continue */ dkim_internal_status = DKIMSignProcess(dkim_context,"\n.",2);