From 070b32952caf91e2f7f7598230236fdd872f99e5 Mon Sep 17 00:00:00 2001 From: Omar Polo Date: Mon, 5 Jun 2023 21:10:18 +0000 Subject: move and dedup the tls initalization in server.c --- gmid.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gmid.h') diff --git a/gmid.h b/gmid.h index e2a0128..e187147 100644 --- a/gmid.h +++ b/gmid.h @@ -297,7 +297,6 @@ enum imsg_type { char *data_dir(void); void load_local_cert(struct vhost*, const char*, const char*); int make_socket(int, int); -void setup_tls(void); void init_config(void); void free_config(void); void drop_priv(void); @@ -335,7 +334,7 @@ void client_write(struct bufferevent *, void *); void start_reply(struct client*, int, const char*); void client_close(struct client *); struct client *client_by_id(int); -int server_main(struct tls *, struct imsgbuf *, int, int); +int server_main(struct imsgbuf *, int, int); int client_tree_cmp(struct client *, struct client *); SPLAY_PROTOTYPE(client_tree_id, client, entry, client_tree_cmp); -- cgit v1.2.3