summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;