From a0642856b25622c81d3464979c47ff2a30af58fa Mon Sep 17 00:00:00 2001 From: Andre Heinecke Date: Fri, 15 Apr 2016 17:19:40 +0200 Subject: [PATCH] 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 --- dirmngr/ks-engine-http.c | 2 ++ 1 file changed, 2 insertions(+) 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;