From 88e35246fed9345f540e7f6eb749097fd74f5cfb Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Sun, 6 Apr 2014 12:21:40 +0200 Subject: add support for legacy SSL --- src/client/QXmppConfiguration.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/client/QXmppConfiguration.h') diff --git a/src/client/QXmppConfiguration.h b/src/client/QXmppConfiguration.h index 513075c3..0de57e79 100644 --- a/src/client/QXmppConfiguration.h +++ b/src/client/QXmppConfiguration.h @@ -53,10 +53,11 @@ public: /// Depending upon all this user can specify following options. enum StreamSecurityMode { - TLSEnabled = 0, ///< Encryption is used if available (default) - TLSDisabled, ///< No encryption is server allows - TLSRequired ///< Encryption is a must otherwise connection would not - ///< be established + TLSEnabled = 0, ///< Encryption is used if available (default). + TLSDisabled, ///< No encryption even if the server offers it. + TLSRequired, ///< Encryption must be available, otherwise the + ///< connection will not be established. + LegacySSL ///< Use only legacy SSL mode. }; /// An enumeration for various Non-SASL authentication mechanisms available. -- cgit v1.2.3