From 4c1060a1def28cf0a46f1bccf4c28d187ca44561 Mon Sep 17 00:00:00 2001 From: Manuel Nickschas Date: Thu, 7 Nov 2013 21:56:27 +0100 Subject: [PATCH] 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. --- src/client/coreconnection.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.20.1