aboutsummaryrefslogtreecommitdiffstats
path: root/keyserver/ksutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyserver/ksutil.c')
-rw-r--r--keyserver/ksutil.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/keyserver/ksutil.c b/keyserver/ksutil.c
index 7231d0a0a..0ba09cd12 100644
--- a/keyserver/ksutil.c
+++ b/keyserver/ksutil.c
@@ -112,6 +112,12 @@ init_ks_options(void)
{
struct ks_options *opt;
+#ifndef HAVE_LIBCURL
+ /* Without cURL we use our own HTTP module which uses our logging
+ subsystem. Thus we need to init that. */
+ log_set_prefix ("gpgkeys", JNLIB_LOG_WITH_PREFIX);
+#endif /*!HAVE_LIBCURL*/
+
opt=calloc(1,sizeof(struct ks_options));
if(opt)