diff options
-rw-r--r-- | tests/auto/network/ssl/qsslkey/tst_qsslkey.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/network/ssl/qsslkey/tst_qsslkey.cpp b/tests/auto/network/ssl/qsslkey/tst_qsslkey.cpp index ed3deb49ec..df34fc4af6 100644 --- a/tests/auto/network/ssl/qsslkey/tst_qsslkey.cpp +++ b/tests/auto/network/ssl/qsslkey/tst_qsslkey.cpp @@ -113,6 +113,8 @@ void tst_QSslKey::initTestCase() } } +#ifndef QT_NO_SSL + static QByteArray readFile(const QString &absFilePath) { QFile file(absFilePath); @@ -123,8 +125,6 @@ static QByteArray readFile(const QString &absFilePath) return file.readAll(); } -#ifndef QT_NO_SSL - void tst_QSslKey::emptyConstructor() { if (!QSslSocket::supportsSsl()) |