aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/ks-engine-http.c
diff options
context:
space:
mode:
authorAndre Heinecke <[email protected]>2016-04-15 15:19:40 +0000
committerAndre Heinecke <[email protected]>2016-04-15 15:30:05 +0000
commita0642856b25622c81d3464979c47ff2a30af58fa (patch)
tree8e0e96a19f3eecc5481296b44ce9b8a48b1515be /dirmngr/ks-engine-http.c
parentpo: Fix a string in de.po. (diff)
downloadgnupg-a0642856b25622c81d3464979c47ff2a30af58fa.tar.gz
gnupg-a0642856b25622c81d3464979c47ff2a30af58fa.zip
dirmngr: Fix https incorrectly reported in help
* dirmngr/ks-engine-http.c (ks_hkp_help): Only print https if tls is supported. -- Wrong reporting was pointed out by K_F. Check is the same as in ks-engine-hkp.c
Diffstat (limited to '')
-rw-r--r--dirmngr/ks-engine-http.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dirmngr/ks-engine-http.c b/dirmngr/ks-engine-http.c
index c51c0ce9d..882777e01 100644
--- a/dirmngr/ks-engine-http.c
+++ b/dirmngr/ks-engine-http.c
@@ -38,7 +38,9 @@ ks_http_help (ctrl_t ctrl, parsed_uri_t uri)
const char const data[] =
"Handler for HTTP URLs:\n"
" http://\n"
+#if HTTP_USE_GNUTLS || HTTP_USE_NTBTLS
" https://\n"
+#endif
"Supported methods: fetch\n";
gpg_error_t err;