From: Tom Kistner Date: Thu, 9 Apr 2009 19:18:11 +0000 (+0000) Subject: wip X-Git-Url: https://git.exim.org/users/jgh/exim.git/commitdiff_plain/329b1c2cb5705e9e6b04df0470156ce615b95c2a wip --- diff --git a/src/src/pdkim/pdkim.c b/src/src/pdkim/pdkim.c index 9c288f333..da82fb7c8 100644 --- a/src/src/pdkim/pdkim.c +++ b/src/src/pdkim/pdkim.c @@ -20,7 +20,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -/* $Cambridge: exim/src/src/pdkim/pdkim.c,v 1.1.2.11 2009/04/09 19:07:18 tom Exp $ */ +/* $Cambridge: exim/src/src/pdkim/pdkim.c,v 1.1.2.12 2009/04/09 19:18:11 tom Exp $ */ #include #include @@ -1374,9 +1374,9 @@ DLLEXPORT int pdkim_feed_finish(pdkim_ctx *ctx, pdkim_signature **return_signatu #ifdef PDKIM_DEBUG if (ctx->debug_stream) { fprintf(ctx->debug_stream, "PDKIM [%s] hh computed: ", sig->domain); + pdkim_hexprint(ctx->debug_stream, headerhash, 20, 1); } #endif - pdkim_hexprint(ctx->debug_stream, headerhash, 20, 1); } else { sha2_update(&(sha2_headers),(unsigned char *)sig_hdr,strlen(sig_hdr)); @@ -1384,9 +1384,9 @@ DLLEXPORT int pdkim_feed_finish(pdkim_ctx *ctx, pdkim_signature **return_signatu #ifdef PDKIM_DEBUG if (ctx->debug_stream) { fprintf(ctx->debug_stream, "PDKIM [%s] hh computed: ", sig->domain); + pdkim_hexprint(ctx->debug_stream, headerhash, 32, 1); } #endif - pdkim_hexprint(ctx->debug_stream, headerhash, 32, 1); } free(sig_hdr);