summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBob Jamison <ishmalius@gmail.com>2006-08-29 00:42:05 +0000
committerishmal <ishmal@users.sourceforge.net>2006-08-29 00:42:05 +0000
commitdd86a493ac4c2a1e25af91babf0869fa0ff868b7 (patch)
treef4d411752944ba043b122311370f9ec52cdf7d2d /src
parentbetter handle startTls() if client not built with ssl (diff)
downloadinkscape-dd86a493ac4c2a1e25af91babf0869fa0ff868b7.tar.gz
inkscape-dd86a493ac4c2a1e25af91babf0869fa0ff868b7.zip
better handle startTls() if client not built with ssl
(bzr r1655)
Diffstat (limited to 'src')
-rw-r--r--src/pedro/pedroxmpp.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pedro/pedroxmpp.cpp b/src/pedro/pedroxmpp.cpp
index 398e6722b..17c7ef3ba 100644
--- a/src/pedro/pedroxmpp.cpp
+++ b/src/pedro/pedroxmpp.cpp
@@ -2050,7 +2050,9 @@ bool XmppClient::saslAuthenticate()
status("login: STARTTLS available");
}
- if (wantStartTls && !sock->getEnableSSL())
+ //# do we want TLS, are we not already running SSL, and can
+ //# the client actually do an ssl connection?
+ if (wantStartTls && !sock->getEnableSSL() && sock->getHaveSSL())
{
delete elem;
char *fmt =