From: Nikos Mavrogiannopoulos Date: Wed, 22 Oct 2014 20:05:16 +0000 (+0200) Subject: use HAVE_DANE ifdef for unused functions X-Git-Tag: gnutls_3_4_0~759 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5a417ed4fedfcf24bc24afd1b77160f86dc97091;p=thirdparty%2Fgnutls.git use HAVE_DANE ifdef for unused functions --- diff --git a/src/danetool.c b/src/danetool.c index c43dd5e5f1..2d301760c3 100644 --- a/src/danetool.c +++ b/src/danetool.c @@ -575,6 +575,7 @@ struct priv_st { int found; }; +#ifdef HAVE_DANE static int cert_callback(gnutls_session_t session) { const gnutls_datum_t *cert_list; @@ -705,3 +706,4 @@ static const char *obtain_cert(const char *hostname, const char *proto, unsigned else return tmpfile; } +#endif