aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/t-http.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dirmngr/t-http.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dirmngr/t-http.c b/dirmngr/t-http.c
index 68818de7a..35f59478b 100644
--- a/dirmngr/t-http.c
+++ b/dirmngr/t-http.c
@@ -118,7 +118,7 @@ my_gnutls_log (int level, const char *text)
}
#endif
-
+#if HTTP_USE_NTBTLS
static gpg_error_t
my_http_tls_verify_cb (void *opaque,
http_t http,
@@ -165,6 +165,7 @@ my_http_tls_verify_cb (void *opaque,
log_info ("my_http_tls_verify_cb returns: %s\n", gpg_strerror (err));
return err;
}
+#endif /*HTTP_USE_NTBTLS*/