From: Jeremy Harris Date: Mon, 12 Mar 2018 14:04:11 +0000 (+0000) Subject: Compiler quietening X-Git-Tag: exim-4_91_RC1~8 X-Git-Url: https://vcs.fsf.org/?p=exim.git;a=commitdiff_plain;h=0ae2cff689a193dcab8f6b9fb73d7de1f847ad1b Compiler quietening --- diff --git a/src/src/dkim.c b/src/src/dkim.c index 1767eb620..043fcc6dc 100644 --- a/src/src/dkim.c +++ b/src/src/dkim.c @@ -791,7 +791,7 @@ gstring * authres_dkim(gstring * g) { pdkim_signature * sig; -int start; +int start = 0; /* compiler quietening */ DEBUG(D_acl) start = g->ptr; diff --git a/src/src/pdkim/pdkim.c b/src/src/pdkim/pdkim.c index d7e6d5bce..457d83efc 100644 --- a/src/src/pdkim/pdkim.c +++ b/src/src/pdkim/pdkim.c @@ -792,7 +792,7 @@ pdkim_signature * sig; for (b = ctx->bodyhash; b; b = b->next) /* Finish hashes */ { - DEBUG(D_acl) debug_printf("PDKIM: finish bodyhash %d/%d/%d len %d\n", + DEBUG(D_acl) debug_printf("PDKIM: finish bodyhash %d/%d/%d len %ld\n", b->hashtype, b->canon_method, b->bodylength, b->signed_body_bytes); exim_sha_finish(&b->body_hash_ctx, &b->bh); } @@ -1922,12 +1922,12 @@ for (b = ctx->bodyhash; b; b = b->next) && canon_method == b->canon_method && bodylength == b->bodylength) { - DEBUG(D_receive) debug_printf("PDKIM: using existing bodyhash %d/%d/%d\n", + DEBUG(D_receive) debug_printf("PDKIM: using existing bodyhash %d/%d/%ld\n", hashtype, canon_method, bodylength); return b; } -DEBUG(D_receive) debug_printf("PDKIM: new bodyhash %d/%d/%d\n", +DEBUG(D_receive) debug_printf("PDKIM: new bodyhash %d/%d/%ld\n", hashtype, canon_method, bodylength); b = store_get(sizeof(pdkim_bodyhash)); b->next = ctx->bodyhash; diff --git a/src/src/tls-openssl.c b/src/src/tls-openssl.c index 3376dce3f..969a99d99 100644 --- a/src/src/tls-openssl.c +++ b/src/src/tls-openssl.c @@ -1857,8 +1857,6 @@ if (expcerts && *expcerts) */ if (file) { - tls_ext_ctx_cb * cbinfo = host - ? client_static_cbinfo : server_static_cbinfo; STACK_OF(X509_NAME) * names = SSL_load_client_CA_file(CS file); SSL_CTX_set_client_CA_list(sctx, names);