qt5base-lts/tests/auto/network
Marc Mutz ba0c2c4b46 tst_qsslsocket: remove tons of deprecation warnings
The TLS v1.0 and v1.1 enums are all deprecated since 6.3. At the same
time, the test requires their use, because none of the peers seeem to
implement TLS v1.2, yet (cf. e.g. QTQAINFRA-4499).

Fix by copying the relevant enum values into global variables and
using those. This is a selective way to deal with the issue. The use
of the enums is so widespread in the test that the alternative would
have been to globally suppress deprecation warnings, which, however,
may suppress warnings we may actually want to fix.

Pick-to: 6.3
Change-Id: I4186be72209527fc404f3ba0a5a15f9719c64698
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2022-04-12 00:48:17 +02:00
..
access Replace uses of _qba with _ba 2022-04-07 19:30:17 +02:00
kernel QNetworkInformation: Deprecate vague load functions 2022-03-31 11:54:42 +02:00
selftest Remove the qmake project files 2021-01-07 15:32:28 +01:00
socket tst_QTcpSocket: remove redundant include 2022-04-07 22:45:05 +02:00
ssl tst_qsslsocket: remove tons of deprecation warnings 2022-04-12 00:48:17 +02:00
CMakeLists.txt CMake: Regenerate subdir test projects 2020-07-09 09:38:39 +02:00