diff options
author | Peter Hartmann <phartmann@blackberry.com> | 2013-11-06 22:44:38 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-11-08 18:58:27 +0100 |
commit | becdfa6fabb80d35e430a13835f01a6ff3f6cc73 (patch) | |
tree | e185f00d3391910f7c6d20c0b135acacfe9a607b /tests/auto | |
parent | f45e12f91aa9a230e78f939d2a86398ed90d370d (diff) |
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 <rich@kde.org>
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; |