tst_QSslSocket: remove #if openssl check for a definition

The declaration was moved out of the #if QT_CONFIG(openssl) block at
some point, but the definition was not. This caused compilation errors
when building without OpenSSL configured.

Pick-to: 6.6 6.5
Change-Id: I41ed85fd57f5a912498e0f2517761b81a7b8673c
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
This commit is contained in:
Mårten Nordheim 2023-10-18 12:55:50 +02:00
parent 028a31b505
commit 486b1aec16

View File

@ -166,9 +166,7 @@ private slots:
void protocol(); void protocol();
void protocolServerSide_data(); void protocolServerSide_data();
void protocolServerSide(); void protocolServerSide();
#if QT_CONFIG(openssl)
void serverCipherPreferences(); void serverCipherPreferences();
#endif
void setCaCertificates(); void setCaCertificates();
void setLocalCertificate(); void setLocalCertificate();
void localCertificateChain(); void localCertificateChain();