Add support for new Android 2.3 (API 9+) cipher

Summary: Desktop counterpart of D9449.

Reviewers: #kde_connect, albertvaka

Reviewed By: #kde_connect, albertvaka

Differential Revision: https://phabricator.kde.org/D9451
This commit is contained in:
Matthijs Tijink 2017-12-21 12:28:30 +01:00
parent b1b49ca890
commit d6f9c30749

View file

@ -425,6 +425,7 @@ void LanLinkProvider::configureSslSocket(QSslSocket* socket, const QString& devi
socketCiphers.append(QSslCipher(QStringLiteral("ECDHE-RSA-AES128-SHA"))); socketCiphers.append(QSslCipher(QStringLiteral("ECDHE-RSA-AES128-SHA")));
socketCiphers.append(QSslCipher(QStringLiteral("RC4-SHA"))); socketCiphers.append(QSslCipher(QStringLiteral("RC4-SHA")));
socketCiphers.append(QSslCipher(QStringLiteral("RC4-MD5"))); socketCiphers.append(QSslCipher(QStringLiteral("RC4-MD5")));
socketCiphers.append(QSslCipher(QStringLiteral("DHE-RSA-AES256-SHA")));
// Configure for ssl // Configure for ssl
QSslConfiguration sslConfig; QSslConfiguration sslConfig;