From: Wouter Wijngaards Date: Fri, 25 Jan 2019 12:58:06 +0000 (+0000) Subject: - remove compile warnings from libnettle compile. X-Git-Tag: release-1.9.0rc1~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=062c2cacfc9f406f7218d2207913b83904cb6f5c;p=thirdparty%2Funbound.git - remove compile warnings from libnettle compile. git-svn-id: file:///svn/unbound/trunk@5077 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/doc/Changelog b/doc/Changelog index 20871bf13..9cea746e4 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -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, diff --git a/util/net_help.c b/util/net_help.c index b6e8f091c..1a4fa8a58 100644 --- a/util/net_help.c +++ b/util/net_help.c @@ -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 }