From c267b8f98731ca384e6834ed7e11c6a0c3e19fbc Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Mon, 11 Jan 2021 19:38:14 -0500 Subject: Add -o and -t options to trust self-signed certificates --- bounce.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bounce.h') diff --git a/bounce.h b/bounce.h index d08f21f..2bcd77c 100644 --- a/bounce.h +++ b/bounce.h @@ -174,8 +174,11 @@ size_t localUnix(int fds[], size_t cap, const char *path); int localAccept(struct tls **tls, int bind); extern struct timeval serverQueueInterval; -void serverConfig(bool insecure, const char *cert, const char *priv); +void serverConfig( + bool insecure, const char *trust, const char *cert, const char *priv +); int serverConnect(const char *bindHost, const char *host, const char *port); +void serverPrintCert(void); void serverRecv(void); void serverSend(const char *ptr, size_t len); void serverFormat(const char *format, ...) -- cgit 1.4.1