qt5base-lts/tests/auto/network
Timur Pocheptsov 1158ff67b4 QSslSocket::verify: do not alter the default configuration
QSslCertificate::verify() has an undocumented and not very desirable property -
on some platorms it updates the default configuration, which can be surprising.
For example, we deprecated QSslSocket::setDefaultCaCertificates() and recommend
using QSslConfiguration::defaultConfiguration(), QSslConfiguration::setDefaultConfiguration(),
and QSslConfiguration::setCaCertificates(). If an application does this to select
CA roots it trusts explicitly, and then for some reason is calling verify, the
application can have its QSslSockets successfully connecting to a host, whose
root was not trusted by the application. Also, on Windows, defaultCaCertificates()
include system roots already, no need to have them twice.

[ChangeLog][QtCore][QtNetwork] QSslSocket::verify - do not change the default configuration

Pick-to: 5.15
Pick-to: 6.0
Pick-to: 6.0.0
Fixes: QTBUG-88639
Change-Id: I1cd40b259d0a6dcd15c78d1e7c027ff10859595c
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2020-11-30 23:11:05 +01:00
..
access Blacklist authenticationCacheAfterCancel on Ubuntu 20.04 2020-11-24 20:50:42 +00:00
kernel Android: blacklist a list of failing tests for android 2020-11-04 12:27:49 +02:00
selftest Revert "Disable tests with qemu-arm & developer-build configurations in the CI" 2020-06-05 12:10:07 +02:00
socket tst_QTcpSocket::connectToHostError - handle possible timeouts 2020-11-20 14:34:04 +01:00
ssl QSslSocket::verify: do not alter the default configuration 2020-11-30 23:11:05 +01:00
.prev_CMakeLists.txt CMake: Regenerate subdir test projects 2020-07-09 09:38:39 +02:00
CMakeLists.txt CMake: Regenerate subdir test projects 2020-07-09 09:38:39 +02:00
network.pro QtNetwork: Delete bearer management 2020-04-05 16:41:08 +02:00