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
This commit is contained in:
Andre Heinecke 2016-04-15 17:19:40 +02:00
parent d1507b4f95
commit a0642856b2
1 changed files with 2 additions and 0 deletions

View File

@ -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;