diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2014-10-22 22:05:16 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2014-10-22 22:05:16 +0200 |
commit | 5a417ed4fedfcf24bc24afd1b77160f86dc97091 (patch) | |
tree | 0fc274fa162dbeab341d53d4245f4b688a9753e4 /src/danetool.c | |
parent | fa204459b550e1a5fb0dd7745a7c5946e2b7f28e (diff) | |
download | gnutls-5a417ed4fedfcf24bc24afd1b77160f86dc97091.tar.gz |
use HAVE_DANE ifdef for unused functions
Diffstat (limited to 'src/danetool.c')
-rw-r--r-- | src/danetool.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 |