aboutsummaryrefslogtreecommitdiffstats
path: root/g10/keyserver.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/keyserver.c')
-rw-r--r--g10/keyserver.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/g10/keyserver.c b/g10/keyserver.c
index 815e784a6..f9343980a 100644
--- a/g10/keyserver.c
+++ b/g10/keyserver.c
@@ -784,12 +784,14 @@ keyserver_typemap(const char *type)
{
if(strcmp(type,"ldaps")==0)
return "ldap";
-#ifdef HAVE_LIBCURL
+#ifdef FTP_VIA_LIBCURL
else if(strcmp(type,"ftp")==0)
return "curl";
+#endif
+#ifdef HTTP_VIA_LIBCURL
else if(strcmp(type,"http")==0)
return "curl";
-#endif /* HAVE_LIBCURL */
+#endif
else
return type;
}