summaryrefslogtreecommitdiffstats
path: root/tests/auto/qsslsocket/tst_qsslsocket.cpp
diff options
context:
space:
mode:
authorPeter Hartmann <peter.hartmann@trolltech.com>2009-09-02 15:31:53 (GMT)
committerPeter Hartmann <peter.hartmann@trolltech.com>2009-09-02 15:55:12 (GMT)
commitea6d0580db1cd6e16401a6c197d2b85abd595e2d (patch)
treede8b6e4f625851a5bd084da43802424638ee4848 /tests/auto/qsslsocket/tst_qsslsocket.cpp
parentc9eacfa1c791e2d228a3c8f0c119d02d7f46ee02 (diff)
downloadQt-ea6d0580db1cd6e16401a6c197d2b85abd595e2d.zip
Qt-ea6d0580db1cd6e16401a6c197d2b85abd595e2d.tar.gz
Qt-ea6d0580db1cd6e16401a6c197d2b85abd595e2d.tar.bz2
QSslSocket autotest: fix failing tests
no issues in code, just in server and test setup Reviewed-by: trustme
Diffstat (limited to 'tests/auto/qsslsocket/tst_qsslsocket.cpp')
-rw-r--r--tests/auto/qsslsocket/tst_qsslsocket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qsslsocket/tst_qsslsocket.cpp b/tests/auto/qsslsocket/tst_qsslsocket.cpp
index 86fb9f4..7a6783c 100644
--- a/tests/auto/qsslsocket/tst_qsslsocket.cpp
+++ b/tests/auto/qsslsocket/tst_qsslsocket.cpp
@@ -592,7 +592,7 @@ void tst_QSslSocket::connectToHostEncrypted()
QSslSocketPtr socket = newSocket();
this->socket = socket;
- QVERIFY(socket->addCaCertificates(QLatin1String("certs/qt-test-server-cacert.pem")));
+ QVERIFY(socket->addCaCertificates(QLatin1String(SRCDIR "certs/qt-test-server-cacert.pem")));
#ifdef QSSLSOCKET_CERTUNTRUSTED_WORKAROUND
connect(socket, SIGNAL(sslErrors(QList<QSslError>)),
this, SLOT(untrustedWorkaroundSlot(QList<QSslError>)));