diff options
author | Peter Varga <pvarga@inf.u-szeged.hu> | 2019-03-06 13:56:01 +0100 |
---|---|---|
committer | Peter Varga <pvarga@inf.u-szeged.hu> | 2019-03-07 08:21:22 +0000 |
commit | dc6c8d5c9fe61ba58d065564f4d6dc0571475004 (patch) | |
tree | 44b1edbea4ace619298b574f04b7ec993b00d8e4 /src/core/profile_adapter.cpp | |
parent | a64565af1e2d83665b8a0ece77750ac50555423a (diff) |
Fix -no-ssl buildv5.13.0-beta1
Change-Id: I978f70545484060218f5243c74978c85bc603c16
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/core/profile_adapter.cpp')
-rw-r--r-- | src/core/profile_adapter.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/profile_adapter.cpp b/src/core/profile_adapter.cpp index 7070292d6..6f05c4c3f 100644 --- a/src/core/profile_adapter.cpp +++ b/src/core/profile_adapter.cpp @@ -114,7 +114,9 @@ ProfileAdapter::~ProfileAdapter() m_profile->GetDownloadManager(m_profile.data())->Shutdown(); m_downloadManagerDelegate.reset(); } +#if QT_CONFIG(ssl) delete m_clientCertificateStore; +#endif Q_ASSERT(m_pageRequestInterceptors == 0); } @@ -668,11 +670,13 @@ bool ProfileAdapter::isUsedForGlobalCertificateVerification() const return m_usedForGlobalCertificateVerification; } +#if QT_CONFIG(ssl) QWebEngineClientCertificateStore *ProfileAdapter::clientCertificateStore() { if (!m_clientCertificateStore) m_clientCertificateStore = new QWebEngineClientCertificateStore(m_profile->m_profileIOData->clientCertificateStoreData()); return m_clientCertificateStore; } +#endif } // namespace QtWebEngineCore |