diff options
author | Kevin Smith <git@kismith.co.uk> | 2011-09-20 12:05:28 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2011-09-20 12:05:28 (GMT) |
commit | a1fc89586ddfbaccca5fb1ed17f9d62137be25a0 (patch) | |
tree | ad538219831539b3e6424464bd3c62ac28295096 /Swiften/Client/ClientOptions.h | |
parent | 9706f2c0979a41f6615ed40fd15ae9b219bdeec2 (diff) | |
download | swift-contrib-a1fc89586ddfbaccca5fb1ed17f9d62137be25a0.zip swift-contrib-a1fc89586ddfbaccca5fb1ed17f9d62137be25a0.tar.bz2 |
Swiften support for requiring TLS
Diffstat (limited to 'Swiften/Client/ClientOptions.h')
-rw-r--r-- | Swiften/Client/ClientOptions.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Swiften/Client/ClientOptions.h b/Swiften/Client/ClientOptions.h index 0766402..6b15f18 100644 --- a/Swiften/Client/ClientOptions.h +++ b/Swiften/Client/ClientOptions.h @@ -10,7 +10,8 @@ namespace Swift { struct ClientOptions { enum UseTLS { NeverUseTLS, - UseTLSWhenAvailable + UseTLSWhenAvailable, + RequireTLS }; ClientOptions() : useStreamCompression(true), useTLS(UseTLSWhenAvailable), allowPLAINWithoutTLS(false), useStreamResumption(false), forgetPassword(false) { |