tst_QSslSocket: Remove compile-time #ifdef check

Since we use runtime plugins now and the test doesn't use any
symbols from openssl

Amends 486b1aec1606d6d778da6203e28640cd79ae0291

Pick-to: 6.6 6.5
Change-Id: Ib66d1ca15835c41fe138c7830ce3edd0bdce0d5f
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
This commit is contained in:
Volker Hilsheimer 2023-10-21 10:55:32 +02:00
parent 51cfc973b3
commit 89f0f34db5

View File

@ -1661,8 +1661,6 @@ void tst_QSslSocket::protocolServerSide()
QCOMPARE(client.isEncrypted(), works); QCOMPARE(client.isEncrypted(), works);
} }
#if QT_CONFIG(openssl)
void tst_QSslSocket::serverCipherPreferences() void tst_QSslSocket::serverCipherPreferences()
{ {
if (!isTestingOpenSsl) if (!isTestingOpenSsl)
@ -1757,8 +1755,6 @@ void tst_QSslSocket::serverCipherPreferences()
} }
} }
#endif // Feature 'openssl'.
void tst_QSslSocket::setCaCertificates() void tst_QSslSocket::setCaCertificates()
{ {