qt6-bb10/tests/auto/network/ssl/qsslsocket
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
..
certs QSslSocket: fix connection to a international domain name 2017-03-23 16:11:15 +00:00
.gitignore
BLACKLIST tst_qsslsocket - blacklist several test temporarily 2019-01-24 20:38:14 +00:00
qsslsocket.pro prune cargo-culted and obsolete winsock deps from autotests 2018-07-19 13:31:08 +00:00
ssl.tar.gz
tst_qsslsocket.cpp QSslSocket: add and set the TLSv1.3-specific PSK callback 2019-06-12 22:59:14 +02:00