dirmngr.c: Make http.c build without any TLS support.
authorWerner Koch <wk@gnupg.org>
Mon, 20 Feb 2017 09:02:25 +0000 (10:02 +0100)
committerWerner Koch <wk@gnupg.org>
Mon, 20 Feb 2017 09:02:25 +0000 (10:02 +0100)
* dirmngr/http.c (http_session_new): Remove used of tls_prority.

Signed-off-by: Werner Koch <wk@gnupg.org>
dirmngr/http.c

index e7c6d42..cb90540 100644 (file)
@@ -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);