From 486b1aec1606d6d778da6203e28640cd79ae0291 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5rten=20Nordheim?= Date: Wed, 18 Oct 2023 12:55:50 +0200 Subject: [PATCH] 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 --- tests/auto/network/ssl/qsslsocket/tst_qsslsocket.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/auto/network/ssl/qsslsocket/tst_qsslsocket.cpp b/tests/auto/network/ssl/qsslsocket/tst_qsslsocket.cpp index b9496fb4f7..0f85221087 100644 --- a/tests/auto/network/ssl/qsslsocket/tst_qsslsocket.cpp +++ b/tests/auto/network/ssl/qsslsocket/tst_qsslsocket.cpp @@ -166,9 +166,7 @@ private slots: void protocol(); void protocolServerSide_data(); void protocolServerSide(); -#if QT_CONFIG(openssl) void serverCipherPreferences(); -#endif void setCaCertificates(); void setLocalCertificate(); void localCertificateChain();