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@gnupg.org>
This commit is contained in:
Werner Koch 2017-02-20 10:02:25 +01:00
parent 81ea24b863
commit e174893262
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B
1 changed files with 4 additions and 3 deletions

View 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);