mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
dirmngr: Avoid warning about unused function.
* dirmngr/dirmngr.c (my_gnutls_log): Build only if gnutls is used.
This commit is contained in:
parent
81e93e251e
commit
8219c87c30
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user