From 4e325a8574e4823d8b9ef270974d7514ec5d396e Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Thu, 11 Feb 2010 08:04:05 +0000 Subject: add a configuration item to decide whether to ignore SSL errors (issue #42) --- source/QXmppConfiguration.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source/QXmppConfiguration.h') diff --git a/source/QXmppConfiguration.h b/source/QXmppConfiguration.h index a1d0c0e7..d9ff059c 100644 --- a/source/QXmppConfiguration.h +++ b/source/QXmppConfiguration.h @@ -90,6 +90,9 @@ public: bool getUseSASLAuthentication() const; void setUseSASLAuthentication(bool); + bool getIgnoreSslErrors() const; + void setIgnoreSslErrors(bool); + QXmppConfiguration::StreamSecurityMode getStreamSecurityMode() const; void setStreamSecurityMode(QXmppConfiguration::StreamSecurityMode mode); @@ -124,6 +127,8 @@ private: ///< to be used ///< defualt is true and use SASL ///< false would use NonSASL if available + // default is true + bool m_ignoreSslErrors; StreamSecurityMode m_streamSecurityMode; NonSASLAuthMechanism m_nonSASLAuthMechanism; -- cgit v1.2.3