summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2020-07-31 16:31:27 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2020-08-04 13:18:49 +0000
commit001ef20a82749e58295a706d6b075cdcb74f1621 (patch)
tree0e132bf6545c374fb0a10604032de74ad8921eab
parent91608f4486d7afa442a1477414437912d0aa5b34 (diff)
Re-enable client certificate handling when Qt is build without SSL
We only need the QSslCertificate which is always available. Task-number: QTBUG-85117 Change-Id: I32e2034060e610ac049d8e3b2a03660e9bf7e7a4 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
-rw-r--r--src/core/profile_io_data_qt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/profile_io_data_qt.cpp b/src/core/profile_io_data_qt.cpp
index 02912e35e..91adbc57d 100644
--- a/src/core/profile_io_data_qt.cpp
+++ b/src/core/profile_io_data_qt.cpp
@@ -212,7 +212,7 @@ std::unique_ptr<net::ClientCertStore> ProfileIODataQt::CreateClientCertStore()
#if QT_CONFIG(ssl)
return std::unique_ptr<net::ClientCertStore>(new ClientCertOverrideStore(m_clientCertificateStoreData));
#else
- return nullptr;
+ return std::unique_ptr<net::ClientCertStore>(new ClientCertOverrideStore(nullptr));
#endif
}