about summary refs log tree commit diff
path: root/bounce.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-02-27 18:36:44 -0500
committerJune McEnroe <june@causal.agency>2020-02-27 18:36:44 -0500
commit3f89b14700daa30f456902f22f6c22ecdd35a48a (patch)
tree705759c24e1535dfcc37f3289362a40b030f89ff /bounce.h
parentDocument the causal.agency/consumer vendor capability (diff)
downloadpounce-3f89b14700daa30f456902f22f6c22ecdd35a48a.tar.gz
pounce-3f89b14700daa30f456902f22f6c22ecdd35a48a.zip
Advertise STS policy
Duration is set to INT_MAX since pounce will never accept cleartext
connections.
Diffstat (limited to 'bounce.h')
-rw-r--r--bounce.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/bounce.h b/bounce.h
index f8ab0c0..ffbd24b 100644
--- a/bounce.h
+++ b/bounce.h
@@ -81,6 +81,7 @@ static inline struct Message parse(char *line) {
 	X("sasl", CapSASL) \
 	X("server-time", CapServerTime) \
 	X("setname", CapSetname) \
+	X("sts", CapSTS) \
 	X("userhost-in-names", CapUserhostInNames) \
 	X("", CapUnsupported)
 
@@ -166,6 +167,7 @@ void serverFormat(const char *format, ...)
 	__attribute__((format(printf, 1, 2)));
 
 extern bool clientCA;
+extern bool clientSTS;
 extern char *clientPass;
 extern char *clientAway;
 struct Client *clientAlloc(struct tls *tls);