From e42b3aa08e3706ecb87ca76254fbab51cccf3390 Mon Sep 17 00:00:00 2001 From: C. McEnroe Date: Sat, 9 Jan 2021 19:11:57 -0500 Subject: Add -o and -t options to trust self-signed certificates --- chat.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'chat.h') diff --git a/chat.h b/chat.h index 8de5d55..34c450f 100644 --- a/chat.h +++ b/chat.h @@ -222,8 +222,11 @@ struct Message { char *params[ParamCap]; }; -void ircConfig(bool insecure, const char *cert, const char *priv); +void ircConfig( + bool insecure, const char *trust, const char *cert, const char *priv +); int ircConnect(const char *bind, const char *host, const char *port); +void ircWriteChain(const char *path); void ircRecv(void); void ircSend(const char *ptr, size_t len); void ircFormat(const char *format, ...) -- cgit 1.4.1-2-gfad0