summaryrefslogtreecommitdiffstats
path: root/src/core/client_cert_select_controller.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/client_cert_select_controller.h')
-rw-r--r--src/core/client_cert_select_controller.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/client_cert_select_controller.h b/src/core/client_cert_select_controller.h
index 4a245c74c..46324ee90 100644
--- a/src/core/client_cert_select_controller.h
+++ b/src/core/client_cert_select_controller.h
@@ -55,7 +55,7 @@
#include <QtNetwork/qtnetwork-config.h>
#include <QtCore/QUrl>
-#if QT_CONFIG(ssl)
+#if !defined(QT_NO_SSL) || QT_VERSION >= QT_VERSION_CHECK(5, 12, 0)
#include <QtCore/QVector>
#include <QtNetwork/QSslCertificate>
#endif
@@ -80,12 +80,12 @@ public:
~ClientCertSelectController();
QUrl hostAndPort() const { return m_hostAndPort; }
-#if QT_CONFIG(ssl)
+#if !defined(QT_NO_SSL) || QT_VERSION >= QT_VERSION_CHECK(5, 12, 0)
void selectNone();
void select(const QSslCertificate &certificate);
QVector<QSslCertificate> certificates() const;
-#endif // QT_CONFIG(ssl)
+#endif
private:
QUrl m_hostAndPort;