diff options
author | June McEnroe <june@causal.agency> | 2020-02-27 18:36:44 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-02-27 18:36:44 -0500 |
commit | 3f89b14700daa30f456902f22f6c22ecdd35a48a (patch) | |
tree | 705759c24e1535dfcc37f3289362a40b030f89ff /bounce.h | |
parent | Document the causal.agency/consumer vendor capability (diff) | |
download | pounce-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 '')
-rw-r--r-- | bounce.h | 2 |
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); |