summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-02-09 11:28:19 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-02-10 16:45:12 +1100
commitac57defdb4171c5b8266083f18ce89fecf0a4032 (patch)
tree3af67d5210a00105b20ea852d14d19d6e567feba
parentabc90d8f2e56e50496392f9bf05fed85628e07f1 (diff)
downloadsamba-ac57defdb4171c5b8266083f18ce89fecf0a4032.tar.gz
samba-ac57defdb4171c5b8266083f18ce89fecf0a4032.tar.bz2
samba-ac57defdb4171c5b8266083f18ce89fecf0a4032.zip
s4-lib/tls: remove unused tls_support()
Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett
-rw-r--r--source4/lib/tls/tls.c10
-rw-r--r--source4/lib/tls/tls.h5
2 files changed, 0 insertions, 15 deletions
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;