qt5base-lts/tests/auto/network/ssl
Timur Pocheptsov b3ae87fe76 Add missing protocol enumerators, report TLS 1.3 if negotiated
1. Remove the conditional inclusion of DTLS versions, they made difficult
and unnecessary ugly adding new protocols (something like TlsV1_2OrLater + 4).

2. OpenSSL 1.1.1 first introduced TLS 1.3 support. OpenSSL 1.1 back-end is
compatible with OpenSSL 1.1.1, but would fail to extract/report protocol
versions and set versions like 'TLS 1.3 only' or 'TLS 1.3 or better' on a
new context.  Given 1.1.1 is deployed/adapted fast by different distros,
and 5.12 is LTS, we fix this issue by introducing QSsl::Tls1_3 and
QSsl::Tls1_3OrLater.

SecureTransport, WinRT and OpenSSL below 1.1.1 will report an error in case
the application requests this protocol (SecureTransport in future will
probably enable TLS 1.3).

Saying all that, TLS 1.3 support is experimental in QSslSocket.

Done-by: Albert Astals Cid <albert.astals.cid@kdab.com>
Done-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Change-Id: I4a97cc789b62763763cf41c44157ef0a9fd6cbec
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2018-11-07 10:32:35 +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
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 prune cargo-culted and obsolete winsock deps from autotests 2018-07-19 13:31:08 +00:00
qsslsocket Add missing protocol enumerators, report TLS 1.3 if negotiated 2018-11-07 10:32:35 +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 Fix builds without DTLS 2018-10-09 13:14:42 +00:00