Allow newer TLS versions

Summary:
Instead of mandating TLS V1.0 use 1.0 or later.
BUG: 400338

Test Plan: Phone connects

Reviewers: #kde_connect, albertvaka

Reviewed By: #kde_connect, albertvaka

Subscribers: thomasp, kdeconnect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D18217
This commit is contained in:
Nicolas Fella 2019-01-18 08:39:21 +01:00 committed by Nicolas Fella
parent 4834b63537
commit 1b20ecec32

View file

@ -430,7 +430,6 @@ void LanLinkProvider::configureSslSocket(QSslSocket* socket, const QString& devi
// Configure for ssl
QSslConfiguration sslConfig;
sslConfig.setCiphers(socketCiphers);
sslConfig.setProtocol(QSsl::TlsV1_0);
socket->setSslConfiguration(sslConfig);
socket->setLocalCertificate(KdeConnectConfig::instance()->certificate());