summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2018-03-12 14:04:11 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2018-03-13 11:19:20 +0000
commit0ae2cff689a193dcab8f6b9fb73d7de1f847ad1b (patch)
treecc960ae5f904b8f82329970f54895c2d969fe419 /src
parent7cc29763f75a5bb61942db60bbea2429d09daf15 (diff)
Compiler quietening
Diffstat (limited to 'src')
-rw-r--r--src/src/dkim.c2
-rw-r--r--src/src/pdkim/pdkim.c6
-rw-r--r--src/src/tls-openssl.c2
3 files changed, 4 insertions, 6 deletions
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);