diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-02-11 08:04:05 +0000 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-02-11 08:04:05 +0000 |
| commit | 4e325a8574e4823d8b9ef270974d7514ec5d396e (patch) | |
| tree | dc3f8aebbee378c4652f1c0b7449a17f28bd4ffb /source/QXmppConfiguration.h | |
| parent | 1fceaa86f263122c90fd9e7e3a85cb05a0fc505f (diff) | |
| download | qxmpp-4e325a8574e4823d8b9ef270974d7514ec5d396e.tar.gz | |
add a configuration item to decide whether to ignore SSL errors (issue #42)
Diffstat (limited to 'source/QXmppConfiguration.h')
| -rw-r--r-- | source/QXmppConfiguration.h | 5 |
1 files changed, 5 insertions, 0 deletions
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; |
