From 3f89b14700daa30f456902f22f6c22ecdd35a48a Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Thu, 27 Feb 2020 18:36:44 -0500 Subject: Advertise STS policy Duration is set to INT_MAX since pounce will never accept cleartext connections. --- bounce.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bounce.h') 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); -- cgit 1.4.1