From: Manuel Nickschas Date: Thu, 7 Nov 2013 20:56:27 +0000 (+0100) Subject: Don't tell the core to enable SSL if we're built without X-Git-Tag: 0.9.2~18 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=4c1060a1def28cf0a46f1bccf4c28d187ca44561 Don't tell the core to enable SSL if we're built without So apparently we've always been telling the core to enable SSL, even if the client is built without SSL support. This might account for spurious reports about failed SSL handshakes. --- diff --git a/src/client/coreconnection.cpp b/src/client/coreconnection.cpp index 7112b854..58335bb5 100644 --- a/src/client/coreconnection.cpp +++ b/src/client/coreconnection.cpp @@ -539,7 +539,11 @@ void CoreConnection::coreSocketConnected() clientInit["ClientVersion"] = Quassel::buildInfo().fancyVersionString; clientInit["ClientDate"] = Quassel::buildInfo().buildDate; clientInit["ProtocolVersion"] = Quassel::buildInfo().protocolVersion; +#ifdef HAVE_SSL clientInit["UseSsl"] = _account.useSsl(); +#else + clientInit["UseSsl"] = false; +#endif #ifndef QT_NO_COMPRESS clientInit["UseCompression"] = true; #else