summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2012-10-26 14:47:03 +0300
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-10-30 09:39:23 +0100
commit88140bdf6ed290785d823f0aa4e6b12aea11ec74 (patch)
tree668233ae9cf278ebc27e29bc5e8780ac483b5f71 /tests
parent4e5647077d407466bff3e67fbcc3c0f397a42016 (diff)
Fix tst_qsslsocket auto test build when OpenSSL is not available.
This is needed to get Qt 4.8 CI passing. OpenSSL is apparently missing from Digia hosted Windows CI machines. OpenSSL to CI Testers will be installed later on to cover also these code paths. Change-Id: I6a4e2b4b1fa6c56692f112f1c5fc47361cb1ea0c Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qsslsocket/tst_qsslsocket.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qsslsocket/tst_qsslsocket.cpp b/tests/auto/qsslsocket/tst_qsslsocket.cpp
index f861f7d946..718e21127a 100644
--- a/tests/auto/qsslsocket/tst_qsslsocket.cpp
+++ b/tests/auto/qsslsocket/tst_qsslsocket.cpp
@@ -55,7 +55,9 @@
#include <QAuthenticator>
#include "private/qhostinfo_p.h"
+#ifndef QT_NO_OPENSSL
#include "private/qsslsocket_openssl_p.h"
+#endif
#include "../network-settings.h"