Fix the QSslSocket::setCiphers(const QString &) overload.
authorRichard J. Moore <rich@kde.org>
Sat, 18 Jan 2014 17:17:33 +0000 (17:17 +0000)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sun, 2 Feb 2014 11:18:23 +0000 (12:18 +0100)
commit30d199a76c7d30d9d70eb6cd7594826e7bf6de61
tree93db06bf28613585c6e8d3ca52a2368884d5f0b7
parent861574ebb634b73be917ad82926e4d6faa21607b
Fix the QSslSocket::setCiphers(const QString &) overload.

The overload used an evil hack to work around a flaw in the QSslCipher
API rather than fixing the API. The hack was broken by the addition of
support for newer versions of TLS. This change solves the issue properly
by fixing the QSslCipher API then using the fixed version.

Task-Number: QTBUG-34688
Change-Id: Ibf677c374f837f705395741e730d40d8f912d7c6
Reviewed-by: Peter Hartmann <phartmann@blackberry.com>
src/network/ssl/qsslcipher.cpp
src/network/ssl/qsslcipher.h
src/network/ssl/qsslsocket.cpp