Use autonegotiation to choose an SSL protocol.
[quassel.git] / src / core / corenetwork.cpp
index 3fd0a1a..798f27c 100644 (file)
@@ -185,7 +185,6 @@ void CoreNetwork::connectToIrc(bool reconnecting)
     enablePingTimeout();
 
 #ifdef HAVE_SSL
-    socket.setProtocol((QSsl::SslProtocol)server.sslVersion);
     if (server.useSsl) {
         CoreIdentity *identity = identityPtr();
         if (identity) {