[Pkg-gnupg-commit] [gnupg2] 135/205: dirmngr: Fix https incorrectly reported in help

Daniel Kahn Gillmor dkg at fifthhorseman.net
Wed May 11 08:38:29 UTC 2016


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch experimental
in repository gnupg2.

commit a0642856b25622c81d3464979c47ff2a30af58fa
Author: Andre Heinecke <aheinecke at intevation.de>
Date:   Fri Apr 15 17:19:40 2016 +0200

    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 c51c0ce..882777e 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;
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git



More information about the Pkg-gnupg-commit mailing list