From e2964b35e6e6cdd6ec54f03b0cd462d3bd9f9a73 Mon Sep 17 00:00:00 2001 From: Tom Kistner Date: Tue, 30 Sep 2008 09:10:45 +0000 Subject: [PATCH] Debug checkin - tracing DKIM signing problems --- src/src/dkim-exim.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); -- 2.25.1