diff options
author | Peter Varga <pvarga@inf.u-szeged.hu> | 2021-05-20 16:10:59 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2021-07-06 17:22:47 +0000 |
commit | 8f7a386a5228428122813ebea1d7489783b00633 (patch) | |
tree | a266be6e7a659c14ccb0982967f3ae6d6d40956a /src/core/api | |
parent | ca4ba8beb736efcd95445cc801e2b5a77642a931 (diff) |
Remove deprecated useforglobalcertificateverification
It enabled an unrecommended OCSP path on Linux
[ChangeLog] (Q)WebEngineSettings::useForGlobalCertificateVerification
has been removed.
Pick-to: 6.2
Task-number: QTBUG-91467
Change-Id: I9f5d1ad5e4fcb59abd31e6a133ded7bf8319c811
Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io>
Diffstat (limited to 'src/core/api')
-rw-r--r-- | src/core/api/qwebengineprofile.cpp | 43 | ||||
-rw-r--r-- | src/core/api/qwebengineprofile.h | 3 |
2 files changed, 0 insertions, 46 deletions
diff --git a/src/core/api/qwebengineprofile.cpp b/src/core/api/qwebengineprofile.cpp index 1841e7bc4..f72e43161 100644 --- a/src/core/api/qwebengineprofile.cpp +++ b/src/core/api/qwebengineprofile.cpp @@ -806,49 +806,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. diff --git a/src/core/api/qwebengineprofile.h b/src/core/api/qwebengineprofile.h index 618576664..9d4572771 100644 --- a/src/core/api/qwebengineprofile.h +++ b/src/core/api/qwebengineprofile.h @@ -131,9 +131,6 @@ public: void setSpellCheckEnabled(bool enabled); bool isSpellCheckEnabled() const; - void setUseForGlobalCertificateVerification(bool enabled = true); - bool isUsedForGlobalCertificateVerification() const; - QString downloadPath() const; void setDownloadPath(const QString &path); |