From 001ef20a82749e58295a706d6b075cdcb74f1621 Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Fri, 31 Jul 2020 16:31:27 +0200 Subject: 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 --- src/core/profile_io_data_qt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 ProfileIODataQt::CreateClientCertStore() #if QT_CONFIG(ssl) return std::unique_ptr(new ClientCertOverrideStore(m_clientCertificateStoreData)); #else - return nullptr; + return std::unique_ptr(new ClientCertOverrideStore(nullptr)); #endif } -- cgit v1.2.1