summaryrefslogtreecommitdiff
path: root/src/core/api/qwebengineprofile.cpp
diff options
context:
space:
mode:
authorPeter Varga <pvarga@inf.u-szeged.hu>2021-05-20 16:10:59 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-07-06 23:04:18 +0000
commitbbab484dc45ae2391065d07e1f68027bb53e44d9 (patch)
tree95fe80ea52f8dc0966cb69a078c83eabb729fd56 /src/core/api/qwebengineprofile.cpp
parentb1a6adf731828b1f68f51480eeb21dd9e7d3ba1e (diff)
downloadqtwebengine-bbab484dc45ae2391065d07e1f68027bb53e44d9.tar.gz
Remove deprecated useforglobalcertificateverification
It enabled an unrecommended OCSP path on Linux [ChangeLog] (Q)WebEngineSettings::useForGlobalCertificateVerification has been removed. Task-number: QTBUG-91467 Change-Id: I9f5d1ad5e4fcb59abd31e6a133ded7bf8319c811 Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io> (cherry picked from commit 8f7a386a5228428122813ebea1d7489783b00633) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/core/api/qwebengineprofile.cpp')
-rw-r--r--src/core/api/qwebengineprofile.cpp43
1 files changed, 0 insertions, 43 deletions
diff --git a/src/core/api/qwebengineprofile.cpp b/src/core/api/qwebengineprofile.cpp
index 116846376..6ec48e75b 100644
--- a/src/core/api/qwebengineprofile.cpp
+++ b/src/core/api/qwebengineprofile.cpp
@@ -805,49 +805,6 @@ void QWebEngineProfile::removeAllUrlSchemeHandlers()
}
/*!
- \since 5.13
-
- \obsolete
-
- Sets if this profile is to be used for downloading and caching when needed
- during certificate verification, for instance for OCSP, CRLs, and AIA.
-
- Only one QWebEngineProfile can do this at a time, and it is recommended
- that the profile fullfilling this role has a disk HTTP cache to avoid
- needlessly re-downloading. If you set the option on a second profile,
- it will be disabled on the profile it is currently set.
-
- As long as one profile has \a enabled set to \c true, all other profiles
- will be able to use it for their certificate verification.
-
- Originally only affected Linux/NSS installations where it enabled OCSP.
-
- Since 5.15.3, no longer does anything. Certificate verification is done
- using AIO on the requesting profile.
-
- \sa isUsedForGlobalCertificateVerification(), httpCacheType()
-*/
-void QWebEngineProfile::setUseForGlobalCertificateVerification(bool enabled)
-{
- Q_D(QWebEngineProfile);
- d->profileAdapter()->setUseForGlobalCertificateVerification(enabled);
-}
-
-/*!
- \since 5.13
-
- \obsolete
-
- Returns \c true if this profile is currently being used for global
- certificate verification.
-*/
-bool QWebEngineProfile::isUsedForGlobalCertificateVerification() const
-{
- Q_D(const QWebEngineProfile);
- return d->profileAdapter()->isUsedForGlobalCertificateVerification();
-}
-
-/*!
\since 5.7
Removes the profile's cache entries.