summaryrefslogtreecommitdiff
path: root/tests/auto/qsslsocket_onDemandCertificates_static
diff options
context:
space:
mode:
authorMarkus Goetz <Markus.Goetz@nokia.com>2011-03-03 11:47:48 +0100
committerMarkus Goetz <Markus.Goetz@nokia.com>2011-03-03 11:47:48 +0100
commit2b9660c4cb264dc7b8abe4c753e31c48a50b92af (patch)
treeaafa84e12015d640a617672f9016c9808b03b405 /tests/auto/qsslsocket_onDemandCertificates_static
parentf37a9b29a4113e57da1756019935dd14d1c722bf (diff)
downloadqt4-tools-2b9660c4cb264dc7b8abe4c753e31c48a50b92af.tar.gz
SSL tests: Be more verbose in on-demand cert test
Diffstat (limited to 'tests/auto/qsslsocket_onDemandCertificates_static')
-rw-r--r--tests/auto/qsslsocket_onDemandCertificates_static/tst_qsslsocket_onDemandCertificates_static.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qsslsocket_onDemandCertificates_static/tst_qsslsocket_onDemandCertificates_static.cpp b/tests/auto/qsslsocket_onDemandCertificates_static/tst_qsslsocket_onDemandCertificates_static.cpp
index 825997733d..5003b5c490 100644
--- a/tests/auto/qsslsocket_onDemandCertificates_static/tst_qsslsocket_onDemandCertificates_static.cpp
+++ b/tests/auto/qsslsocket_onDemandCertificates_static/tst_qsslsocket_onDemandCertificates_static.cpp
@@ -210,7 +210,7 @@ void tst_QSslSocket_onDemandCertificates_static::onDemandRootCertLoadingStaticMe
QSslSocketPtr socket2 = newSocket();
this->socket = socket2;
socket2->connectToHostEncrypted(host, 443);
- QVERIFY(socket2->waitForEncrypted());
+ QVERIFY2(socket2->waitForEncrypted(), qPrintable(socket2->errorString()));
// not using any root certs again -> should not work
QSslSocket::setDefaultCaCertificates(QList<QSslCertificate>());