From ac57defdb4171c5b8266083f18ce89fecf0a4032 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 9 Feb 2012 11:28:19 +1100 Subject: s4-lib/tls: remove unused tls_support() Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett --- source4/lib/tls/tls.c | 10 ---------- source4/lib/tls/tls.h | 5 ----- 2 files changed, 15 deletions(-) (limited to 'source4/lib/tls') diff --git a/source4/lib/tls/tls.c b/source4/lib/tls/tls.c index 3a49e2f2e8..82cf2600bd 100644 --- a/source4/lib/tls/tls.c +++ b/source4/lib/tls/tls.c @@ -642,11 +642,6 @@ static const struct socket_ops tls_socket_ops = { .fn_get_fd = tls_socket_get_fd }; -bool tls_support(struct tls_params *params) -{ - return params->tls_enabled; -} - #else /* for systems without tls we just fail the operations, and the caller @@ -679,10 +674,5 @@ struct socket_context *tls_init_client(struct socket_context *socket, return NULL; } -bool tls_support(struct tls_params *params) -{ - return false; -} - #endif diff --git a/source4/lib/tls/tls.h b/source4/lib/tls/tls.h index e1bd9edb51..ed3c81ee2b 100644 --- a/source4/lib/tls/tls.h +++ b/source4/lib/tls/tls.h @@ -58,11 +58,6 @@ struct socket_context *tls_init_client(struct socket_context *sock, bool tls_enabled(struct socket_context *tls); -/* - true if tls support is compiled in -*/ -bool tls_support(struct tls_params *parms); - const struct socket_ops *socket_tls_ops(enum socket_type type); struct tstream_context; -- cgit