From c2bf56fc3a65cbd6a2a94234a87d8ede4003efe6 Mon Sep 17 00:00:00 2001 From: Timur Pocheptsov Date: Mon, 15 Jun 2020 16:23:28 +0200 Subject: QSslSocket: remove certificate-related setters MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- tests/benchmarks/network/ssl/qsslsocket/tst_qsslsocket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/benchmarks/network/ssl') 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 list = QSslSocket::systemCaCertificates(); + QList list = QSslConfiguration::defaultConfiguration().systemCaCertificates(); } } -- cgit v1.2.3