diff options
author | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2020-06-15 16:23:28 +0200 |
---|---|---|
committer | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2020-06-22 12:11:47 +0200 |
commit | c2bf56fc3a65cbd6a2a94234a87d8ede4003efe6 (patch) | |
tree | 8e701d0c1b00f1b761e547919a1a1cc06677aaf9 /tests/benchmarks/network | |
parent | 29d3e7ce38abd09c85d9b28fbc2f89a16fb155c2 (diff) |
QSslSocket: remove certificate-related setters
They were deprecated with replacements in QSslConfiguration proposed (and
some without alternative, which we'll provide if there is any demand
in such an API). Special thanks to M.N. for a nice hint on how to
amend the test without introducing a new API.
Change-Id: I7841a5b3f30469d8204b61cb65921c34275e0650
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'tests/benchmarks/network')
-rw-r--r-- | tests/benchmarks/network/ssl/qsslsocket/tst_qsslsocket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/benchmarks/network/ssl/qsslsocket/tst_qsslsocket.cpp b/tests/benchmarks/network/ssl/qsslsocket/tst_qsslsocket.cpp index afd0c720a2..d44556db58 100644 --- a/tests/benchmarks/network/ssl/qsslsocket/tst_qsslsocket.cpp +++ b/tests/benchmarks/network/ssl/qsslsocket/tst_qsslsocket.cpp @@ -92,7 +92,7 @@ void tst_QSslSocket::systemCaCertificates() // Therefore this benchmark is only good for manual regression checking between // Qt versions. QBENCHMARK_ONCE { - QList<QSslCertificate> list = QSslSocket::systemCaCertificates(); + QList<QSslCertificate> list = QSslConfiguration::defaultConfiguration().systemCaCertificates(); } } |