dirmngr: Avoid warning about unused function.

* dirmngr/dirmngr.c (my_gnutls_log): Build only if gnutls is used.
This commit is contained in:
Werner Koch 2015-02-11 19:01:11 +01:00
parent 81e93e251e
commit 8219c87c30
1 changed files with 2 additions and 1 deletions

View File

@ -364,6 +364,7 @@ my_ksba_hash_buffer (void *arg, const char *oid,
/* GNUTLS log function callback. */
#ifdef HTTP_USE_GNUTLS
static void
my_gnutls_log (int level, const char *text)
{
@ -375,7 +376,7 @@ my_gnutls_log (int level, const char *text)
log_debug ("gnutls:L%d: %.*s\n", level, n, text);
}
#endif /*HTTP_USE_GNUTLS*/
/* Setup the debugging. With a LEVEL of NULL only the active debug
flags are propagated to the subsystems. With LEVEL set, a specific