[Pkg-gnupg-commit] [gnupg2] 106/166: dirmngr.c: Make http.c build without any TLS support.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Thu Mar 16 22:33:10 UTC 2017


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

dkg pushed a commit to branch experimental
in repository gnupg2.

commit e174893262d8de0f52faa8abe4fc0402719a35d8
Author: Werner Koch <wk at gnupg.org>
Date:   Mon Feb 20 10:02:25 2017 +0100

    dirmngr.c: Make http.c build without any TLS support.
    
    * dirmngr/http.c (http_session_new): Remove used of tls_prority.
    
    Signed-off-by: Werner Koch <wk at gnupg.org>
---
 dirmngr/http.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/dirmngr/http.c b/dirmngr/http.c
index e7c6d42..cb90540 100644
--- a/dirmngr/http.c
+++ b/dirmngr/http.c
@@ -767,11 +767,12 @@ http_session_new (http_session_t *r_session,
         goto leave;
       }
   }
-#else /*!HTTP_USE_GNUTLS*/
+#else /*!HTTP_USE_GNUTLS && !HTTP_USE_NTBTLS*/
   {
-    (void)tls_priority;
+    (void)intended_hostname;
+    (void)flags;
   }
-#endif /*!HTTP_USE_GNUTLS*/
+#endif /*!HTTP_USE_GNUTLS && !HTTP_USE_NTBTLS*/
 
   if (opt_debug > 1)
     log_debug ("http.c:session_new: sess %p created\n", sess);

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