aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/http.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2017-02-20 09:02:25 +0000
committerWerner Koch <[email protected]>2017-02-20 09:02:25 +0000
commite174893262d8de0f52faa8abe4fc0402719a35d8 (patch)
tree6fae8750fa7c4792f02d3b72887041120c617fe6 /dirmngr/http.c
parent dirmngr: Make t-http.c work again with gnutls - second try (diff)
downloadgnupg-e174893262d8de0f52faa8abe4fc0402719a35d8.tar.gz
gnupg-e174893262d8de0f52faa8abe4fc0402719a35d8.zip
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 <[email protected]>
Diffstat (limited to 'dirmngr/http.c')
-rw-r--r--dirmngr/http.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/dirmngr/http.c b/dirmngr/http.c
index e7c6d4224..cb9054038 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);