summaryrefslogtreecommitdiffstats
path: root/src/tools/rcc/rcc.cpp
diff options
context:
space:
mode:
authorTimur Pocheptsov <timur.pocheptsov@qt.io>2018-12-03 15:40:53 +0100
committerTimur Pocheptsov <timur.pocheptsov@qt.io>2018-12-21 03:28:47 +0000
commit3e1758e35d14e6ee16e30ae2f6f6bd92d29d57f0 (patch)
tree8bd5e17931e4088bbd7eaecb2a6785fbb98d4190 /src/tools/rcc/rcc.cpp
parent50d53533e5ab1923865a9f80cb8b093ab477ae81 (diff)
QSsl: do not wait for 'connected'/'encrypted' if a protocol is disabled
since we'll refuse to continue with a handshake, failing in initSslContext() on a disabled protocol versions. Then, functions like waitForEncrypted, connectToHostEncrypted, startServerEncryption and startClientEncryption should either bail out early (who needs a TCP connection which we'll abort anyway?) or bail out whenever we can, as soon as a disabled protocol was found in a configuration. This change also makes the behavior of different back-ends consistent, since it's a general code-path that reports the same SslInvalidUserData error. Update auto-test to ... actually test what it claims it tests. Task-number: QTBUG-72196 Task-number: QTBUG-72179 Change-Id: I548468993410f10c07ce5773b78f38132be8e3e0 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/tools/rcc/rcc.cpp')
0 files changed, 0 insertions, 0 deletions