summary refs log tree commit diff
path: root/bounce.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-01-11 19:38:14 -0500
committerJune McEnroe <june@causal.agency>2021-01-11 19:38:14 -0500
commitc267b8f98731ca384e6834ed7e11c6a0c3e19fbc (patch)
tree351d1a685a7ccf86bfe0625420820742954e9597 /bounce.h
parentMake SYNOPSIS arguments consistent with option names (diff)
downloadpounce-c267b8f98731ca384e6834ed7e11c6a0c3e19fbc.tar.gz
pounce-c267b8f98731ca384e6834ed7e11c6a0c3e19fbc.zip
Add -o and -t options to trust self-signed certificates 2.2
Diffstat (limited to '')
-rw-r--r--bounce.h5
1 files changed, 4 insertions, 1 deletions
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, ...)