tst_qsslcertificate: remove ifery which breaks the test

In the presence of QT_CONFIG(opensslv30).

Fixes: QTBUG-107027
Change-Id: I481db3cdf3bbb1aa7127cc5498f0c0217df8c35b
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
bb10
Timur Pocheptsov 2022-09-30 09:02:50 +02:00
parent bdadc3340c
commit ee85f65b8e
1 changed files with 1 additions and 6 deletions

View File

@ -110,13 +110,8 @@ void tst_QSslCertificate::initTestCase()
testDataDir = QCoreApplication::applicationDirPath();
if (!testDataDir.endsWith(QLatin1String("/")))
testDataDir += QLatin1String("/");
#if QT_CONFIG(opensslv11)
// In the presence of 'openssl' backend, QSslSocket will
// select 'openssl' as the default one.
isNonOpenSslTls = QSslSocket::activeBackend() != QStringLiteral("openssl");
#else
isNonOpenSslTls = true;
#endif // QT_CONFIG(ssl)
QDir dir(testDataDir + "certificates");
QFileInfoList fileInfoList = dir.entryInfoList(QDir::Files | QDir::Readable);