qt6-bb10/tests/auto/network/ssl
Timur Pocheptsov 3e1758e35d 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>
2018-12-21 03:28:47 +00:00
..
qasn1element QAsn1Element - fix toDateTime function 2017-07-18 13:09:16 +00:00
qdtls tst_qdtls: add 'invalidConfiguration' test 2018-08-10 12:18:41 +00:00
qdtlscookie QDtls - refactor 2018-07-26 15:13:57 +00:00
qocsp Add tst_QOcsp auto-test 2018-12-06 05:14:45 +00:00
qpassworddigestor Introduce QPasswordDigestor functions 2018-04-23 12:55:45 +00:00
qsslcertificate prune cargo-culted and obsolete winsock deps from autotests 2018-07-19 13:31:08 +00:00
qsslcipher prune cargo-culted and obsolete winsock deps from autotests 2018-07-19 13:31:08 +00:00
qssldiffiehellmanparameters prune cargo-culted and obsolete winsock deps from autotests 2018-07-19 13:31:08 +00:00
qsslellipticcurve prune cargo-culted and obsolete winsock deps from autotests 2018-07-19 13:31:08 +00:00
qsslerror prune cargo-culted and obsolete winsock deps from autotests 2018-07-19 13:31:08 +00:00
qsslkey Amend 7f77dc84fb to simplify the parameters of createPlainTestRows 2018-11-24 07:15:16 +00:00
qsslsocket QSsl: do not wait for 'connected'/'encrypted' if a protocol is disabled 2018-12-21 03:28:47 +00:00
qsslsocket_onDemandCertificates_member prune cargo-culted and obsolete winsock deps from autotests 2018-07-19 13:31:08 +00:00
qsslsocket_onDemandCertificates_static prune cargo-culted and obsolete winsock deps from autotests 2018-07-19 13:31:08 +00:00
ssl.pro Add tst_QOcsp auto-test 2018-12-06 05:14:45 +00:00