qt6-bb10/tests/auto/network/ssl
Mårten Nordheim d8efc8d718 QSslSocket: add and set the TLSv1.3-specific PSK callback
If this callback is not set then OpenSSL will call the callback
used for <= TLS 1.2 unconditionally when connecting. If using PSK it
will call it again later once the preshared key is needed.
We don't currently handle the TLSv1.3 PSK, but we definitely should.
But for now we can work around it - when psk_use_session_callback is
called we simply change the PSK callback to a dummy function whose only
purpose is to restore the old callback.

This is mostly done to keep behavior the same as it is now for users
(and to keep our tests running).

Later we can add a new signal and handle this new feature properly.

Task-number: QTBUG-67463
Change-Id: I4aca4ae73ec4be7c4f82a85e8864de103f35a834
Reviewed-by: Simo Fält <simo.falt@qt.io>
2019-06-12 22:59:14 +02: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 Expand blacklisting of tst_qsslkey to cover all versions of RHELs 2019-03-10 14:08:21 +00:00
qsslsocket QSslSocket: add and set the TLSv1.3-specific PSK callback 2019-06-12 22:59:14 +02: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