diff options
author | Andre Heinecke <aheinecke@intevation.de> | 2016-04-15 17:19:40 +0200 |
---|---|---|
committer | Andre Heinecke <aheinecke@intevation.de> | 2016-04-15 17:30:05 +0200 |
commit | a0642856b25622c81d3464979c47ff2a30af58fa (patch) | |
tree | 8e0e96a19f3eecc5481296b44ce9b8a48b1515be | |
parent | po: Fix a string in de.po. (diff) | |
download | gnupg2-a0642856b25622c81d3464979c47ff2a30af58fa.tar.xz gnupg2-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
-rw-r--r-- | dirmngr/ks-engine-http.c | 2 |
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; |