]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- remove compile warnings from libnettle compile.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 25 Jan 2019 12:58:06 +0000 (12:58 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 25 Jan 2019 12:58:06 +0000 (12:58 +0000)
git-svn-id: file:///svn/unbound/trunk@5077 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
util/net_help.c

index 20871bf138c79d2d27a9191a9924794e318c00cf..9cea746e4297acd698f563c350e91a8eef1af6d7 100644 (file)
@@ -3,6 +3,7 @@
          then gets the ssl read again applied to the deleted commpoint.
        - updated contrib/fastrpz.patch to cleanly diff.
        - no lock when threads disabled in tcp request buffer count.
+       - remove compile warnings from libnettle compile.
 
 24 January 2018: Wouter
        - Newer aclocal and libtoolize used for generating configure scripts,
index b6e8f091c6bcdc7a15a9e32548d611215598fab6..1a4fa8a58e6f307c8dc19504125891fc93e9b800 100644 (file)
@@ -1143,6 +1143,8 @@ int listen_sslctx_setup_ticket_keys(void* sslctx, struct config_strlist* tls_ses
        }
        return 1;
 #else
+       (void)sslctx;
+       (void)tls_session_ticket_keys;
        return 0;
 #endif
 
@@ -1202,6 +1204,11 @@ int tls_session_ticket_key_cb(void *ATTR_UNUSED(sslctx), unsigned char* key_name
        }
        return -1;
 #else
+       (void)key_name;
+       (void)iv;
+       (void)evp_sctx;
+       (void)hmac_ctx;
+       (void)enc;
        return 0;
 #endif
 }