diff options
| author | Remko Tronçon <git@el-tramo.be> | 2011-06-08 19:10:13 (GMT) | 
|---|---|---|
| committer | Remko Tronçon <git@el-tramo.be> | 2011-06-08 19:10:13 (GMT) | 
| commit | 9c6f742cbb729ecd4f78c33f5b630f670f976715 (patch) | |
| tree | ed43a275f9d1585579a14e3ccf883bbcfc3d2656 /Swiften/Client/CoreClient.cpp | |
| parent | cdb0b448b9a64dc5144b1119236f63cadd99d79d (diff) | |
| download | swift-contrib-9c6f742cbb729ecd4f78c33f5b630f670f976715.zip swift-contrib-9c6f742cbb729ecd4f78c33f5b630f670f976715.tar.bz2  | |
Added AllowPlainOverNONTLS option to ClientOptions.
Diffstat (limited to 'Swiften/Client/CoreClient.cpp')
| -rw-r--r-- | Swiften/Client/CoreClient.cpp | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/Swiften/Client/CoreClient.cpp b/Swiften/Client/CoreClient.cpp index a2708c5..ab9e947 100644 --- a/Swiften/Client/CoreClient.cpp +++ b/Swiften/Client/CoreClient.cpp @@ -109,6 +109,7 @@ void CoreClient::handleConnectorFinished(boost::shared_ptr<Connection> connectio  		session_ = ClientSession::create(jid_, sessionStream_);  		session_->setCertificateTrustChecker(certificateTrustChecker);  		session_->setUseStreamCompression(options.useStreamCompression); +		session_->setAllowPLAINOverNonTLS(options.allowPLAINWithoutTLS);  		switch(options.useTLS) {  			case ClientOptions::UseTLSWhenAvailable:  				session_->setUseTLS(ClientSession::UseTLSWhenAvailable);  | 
 Swift