diff --git a/qml/pages/AddConnection.qml b/qml/pages/AddConnection.qml index 27e724b..16f8648 100644 --- a/qml/pages/AddConnection.qml +++ b/qml/pages/AddConnection.qml @@ -180,7 +180,7 @@ Dialog { } MenuItem { - text: "SSL" + text: "TLS" } } } diff --git a/src/sslrelayconnection.cpp b/src/sslrelayconnection.cpp index 96c722d..31e5378 100644 --- a/src/sslrelayconnection.cpp +++ b/src/sslrelayconnection.cpp @@ -11,6 +11,10 @@ SSLRelayConnection::SSLRelayConnection(QSslSocket* socket, QObject* parent) : { QObject::connect(socket, SELECT&>::OVERLOAD_OF(&QSslSocket::sslErrors), this, &SSLRelayConnection::socketSslErrors); + + // Disable SSLv3 as it is old and vulnerable. This should use the protocols deemed safe by + // the Qt version deployed on the device. + sslSocket->setProtocol(QSsl::SecureProtocols); } void SSLRelayConnection::setHandler(ConnectionHandler* handler)