mirror of
git://git.gnupg.org/gnupg.git
synced 2025-02-08 17:43:04 +01:00
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:
parent
d1507b4f95
commit
a0642856b2
@ -38,7 +38,9 @@ ks_http_help (ctrl_t ctrl, parsed_uri_t uri)
|
|||||||
const char const data[] =
|
const char const data[] =
|
||||||
"Handler for HTTP URLs:\n"
|
"Handler for HTTP URLs:\n"
|
||||||
" http://\n"
|
" http://\n"
|
||||||
|
#if HTTP_USE_GNUTLS || HTTP_USE_NTBTLS
|
||||||
" https://\n"
|
" https://\n"
|
||||||
|
#endif
|
||||||
"Supported methods: fetch\n";
|
"Supported methods: fetch\n";
|
||||||
gpg_error_t err;
|
gpg_error_t err;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user