summaryrefslogtreecommitdiffstats
path: root/src/core/client_cert_select_controller.h
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2020-08-14 10:43:01 +0200
committerMichal Klocek <michal.klocek@qt.io>2020-08-28 13:40:59 +0200
commit40d808b53ded6bc091d7f642450c5fb9b09d6131 (patch)
tree38df01067cd149614848b2ac8a38b55674a0bb53 /src/core/client_cert_select_controller.h
parente88c84addde58d54293cfb14ee2f2fba2b2fed06 (diff)
Remove QT_NO_SSL checks
They are not longer needed. Change-Id: I15967d3b4ffcb5c64ec64aedcf55069ccb7697b1 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/core/client_cert_select_controller.h')
-rw-r--r--src/core/client_cert_select_controller.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/core/client_cert_select_controller.h b/src/core/client_cert_select_controller.h
index 72f89f720..3a733f56f 100644
--- a/src/core/client_cert_select_controller.h
+++ b/src/core/client_cert_select_controller.h
@@ -55,10 +55,8 @@
#include <QtNetwork/qtnetwork-config.h>
#include <QtCore/QUrl>
-#if !defined(QT_NO_SSL) || QT_VERSION >= QT_VERSION_CHECK(5, 12, 0)
#include <QtCore/QList>
#include <QtNetwork/QSslCertificate>
-#endif
#include <memory>
namespace content {
@@ -80,13 +78,11 @@ public:
~ClientCertSelectController();
QUrl hostAndPort() const { return m_hostAndPort; }
-#if !defined(QT_NO_SSL) || QT_VERSION >= QT_VERSION_CHECK(5, 12, 0)
void selectNone();
void select(const QSslCertificate &certificate);
void select(int index);
QList<QSslCertificate> certificates() const;
-#endif
private:
QUrl m_hostAndPort;