From 69361a43adf369cdbb4ed2044ddb8d720e8db792 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 25 Jun 2019 11:48:37 +1200 Subject: [PATCH] lib/tls: Remove unused header definitions from source4/lib/tls/tls.h (tls socket wrapper) These were removed in eb15acdd35600878aba3319e070199200d9a1357 but the header declarations were not removed. Signed-off-by: Andrew Bartlett Reviewed-by: Douglas Bagnall --- source4/lib/tls/tls.h | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/source4/lib/tls/tls.h b/source4/lib/tls/tls.h index 91eeaae6bf2..d9b18ff4d08 100644 --- a/source4/lib/tls/tls.h +++ b/source4/lib/tls/tls.h @@ -26,38 +26,11 @@ struct loadparm_context; -/* - call tls_initialise() once per task to startup the tls subsystem -*/ -struct tls_params *tls_initialise(TALLOC_CTX *mem_ctx, struct loadparm_context *lp_ctx); - -/* - call tls_init_server() on each new server connection - - the 'plain_chars' parameter is a list of chars that when they occur - as the first character from the client on the connection tell the - tls code that this is a non-tls connection. This can be used to have - tls and non-tls servers on the same port. If this is NULL then only - tls connections will be allowed -*/ -struct socket_context *tls_init_server(struct tls_params *parms, - struct socket_context *sock, - struct tevent_fd *fde, - const char *plain_chars); - void tls_cert_generate(TALLOC_CTX *mem_ctx, const char *hostname, const char *keyfile, const char *certfile, const char *cafile); -/* - return True if a connection used tls -*/ -bool tls_enabled(struct socket_context *tls); - - -const struct socket_ops *socket_tls_ops(enum socket_type type); - struct tstream_context; struct tstream_tls_params; -- 2.34.1