summaryrefslogtreecommitdiffstats
path: root/tests/auto/qsslsocket/tst_qsslsocket.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-07-22 15:37:19 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-07-22 15:37:19 (GMT)
commitd63f3c4c3940b4293c8763d5bfc01ed430075efb (patch)
treeab648417305e42ffb65f86d272ffccb023a152f1 /tests/auto/qsslsocket/tst_qsslsocket.cpp
parent3597a5b82610752cf95372a5a5f7b33afc8d30b9 (diff)
parent7a208874ae5d69d2b70b08f03675ef8f0c843a7f (diff)
downloadQt-d63f3c4c3940b4293c8763d5bfc01ed430075efb.zip
Qt-d63f3c4c3940b4293c8763d5bfc01ed430075efb.tar.gz
Qt-d63f3c4c3940b4293c8763d5bfc01ed430075efb.tar.bz2
Merge branch '4.5'
Diffstat (limited to 'tests/auto/qsslsocket/tst_qsslsocket.cpp')
-rw-r--r--tests/auto/qsslsocket/tst_qsslsocket.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/auto/qsslsocket/tst_qsslsocket.cpp b/tests/auto/qsslsocket/tst_qsslsocket.cpp
index 066b950..bc9d1ca 100644
--- a/tests/auto/qsslsocket/tst_qsslsocket.cpp
+++ b/tests/auto/qsslsocket/tst_qsslsocket.cpp
@@ -1417,9 +1417,7 @@ void tst_QSslSocket::verifyMode()
QVERIFY(!socket.waitForEncrypted());
QList<QSslError> expectedErrors = QList<QSslError>()
- << QSslError(QSslError::UnableToGetLocalIssuerCertificate, socket.peerCertificate())
- << QSslError(QSslError::CertificateUntrusted, socket.peerCertificate())
- << QSslError(QSslError::UnableToVerifyFirstCertificate, socket.peerCertificate());
+ << QSslError(QSslError::SelfSignedCertificate, socket.peerCertificate());
QCOMPARE(socket.sslErrors(), expectedErrors);
socket.abort();