diff options
author | Shane Kearns <ext-shane.2.kearns@nokia.com> | 2012-02-20 17:02:41 +0000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-21 15:28:40 +0100 |
commit | 3f91cde588ad32277ba06d625ed36256ec65f88e (patch) | |
tree | 6e8a7692743cf64cd77721f466558a7180dae3a3 /tests/auto/network/ssl/qsslcertificate/tst_qsslcertificate.cpp | |
parent | 3fe79f23a97323521eb0182f8b46b0d0fc9ce44b (diff) |
Test for QT_NO_SSL instead of QT_NO_OPENSSL
Change the ifdefs in our own code (except openssl backend) to use the
new configure flag.
Change-Id: I8774734771c66b22164b5fae8fdb27814ac3df7b
Reviewed-by: Richard J. Moore <rich@kde.org>
Diffstat (limited to 'tests/auto/network/ssl/qsslcertificate/tst_qsslcertificate.cpp')
-rw-r--r-- | tests/auto/network/ssl/qsslcertificate/tst_qsslcertificate.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/network/ssl/qsslcertificate/tst_qsslcertificate.cpp b/tests/auto/network/ssl/qsslcertificate/tst_qsslcertificate.cpp index da2dd989c7..5da9ff0476 100644 --- a/tests/auto/network/ssl/qsslcertificate/tst_qsslcertificate.cpp +++ b/tests/auto/network/ssl/qsslcertificate/tst_qsslcertificate.cpp @@ -66,7 +66,7 @@ class tst_QSslCertificate : public QObject QMap<QString, QString> sha1Map; void createTestRows(); -#ifndef QT_NO_OPENSSL +#ifndef QT_NO_SSL void compareCertificates(const QSslCertificate & cert1, const QSslCertificate & cert2); #endif @@ -76,7 +76,7 @@ public slots: void initTestCase(); void cleanupTestCase(); -#ifndef QT_NO_OPENSSL +#ifndef QT_NO_SSL private slots: void emptyConstructor(); void constructor_data(); @@ -173,7 +173,7 @@ static QByteArray readFile(const QString &absFilePath) return file.readAll(); } -#ifndef QT_NO_OPENSSL +#ifndef QT_NO_SSL void tst_QSslCertificate::emptyConstructor() { @@ -1060,7 +1060,7 @@ void tst_QSslCertificate::extensions() } -#endif // QT_NO_OPENSSL +#endif // QT_NO_SSL QTEST_MAIN(tst_QSslCertificate) #include "tst_qsslcertificate.moc" |