From becdfa6fabb80d35e430a13835f01a6ff3f6cc73 Mon Sep 17 00:00:00 2001 From: Peter Hartmann Date: Wed, 6 Nov 2013 22:44:38 +0100 Subject: QSslConfiguration: rename [get]session() to [get]sessionTicket() to reflect the fact that this returns and sets the whole session ticket, and not just the session ID. Change-Id: I00fe2bc4197dbcd7a02b3ae4f2f84e3a2a7edad0 Reviewed-by: Richard J. Moore --- tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp b/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp index 2826c497df..1837e8d665 100644 --- a/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp +++ b/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp @@ -6042,7 +6042,7 @@ void tst_QNetworkReply::sslSessionSharingFromPersistentSession() QTestEventLoop::instance().enterLoop(20); QVERIFY(!QTestEventLoop::instance().timeout()); QCOMPARE(warmupReply->error(), QNetworkReply::NoError); - QByteArray sslSession = warmupReply->sslConfiguration().session(); + QByteArray sslSession = warmupReply->sslConfiguration().sessionTicket(); QCOMPARE(!sslSession.isEmpty(), sessionPersistenceEnabled); // test server sends a life time hint of 0 (old server) or 300 (new server), @@ -6060,7 +6060,7 @@ void tst_QNetworkReply::sslSessionSharingFromPersistentSession() QNetworkRequest request(warmupRequest); if (sessionPersistenceEnabled) { QSslConfiguration configuration = request.sslConfiguration(); - configuration.setSession(sslSession); + configuration.setSessionTicket(sslSession); request.setSslConfiguration(configuration); } QNetworkAccessManager newManager; -- cgit v1.2.3