summaryrefslogtreecommitdiffstats
path: root/security/manager/ssl/nsSiteSecurityService.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2020-03-27 15:13:00 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-04-14 13:16:11 +0200
commitb23e7b61c683ba44efcf0ecb59b3da439a9ff007 (patch)
tree09135d1fb6d9677e1eeb55639461cb60eb899dc2 /security/manager/ssl/nsSiteSecurityService.cpp
parent69b4e77751013c0a4d2be25570bf6b0c33cf153d (diff)
downloadUXP-b23e7b61c683ba44efcf0ecb59b3da439a9ff007.tar
UXP-b23e7b61c683ba44efcf0ecb59b3da439a9ff007.tar.gz
UXP-b23e7b61c683ba44efcf0ecb59b3da439a9ff007.tar.lz
UXP-b23e7b61c683ba44efcf0ecb59b3da439a9ff007.tar.xz
UXP-b23e7b61c683ba44efcf0ecb59b3da439a9ff007.zip
Issue #1498 - Part 4: Remove clearPreloads.
Also tag #1280
Diffstat (limited to 'security/manager/ssl/nsSiteSecurityService.cpp')
-rw-r--r--security/manager/ssl/nsSiteSecurityService.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/security/manager/ssl/nsSiteSecurityService.cpp b/security/manager/ssl/nsSiteSecurityService.cpp
index ab2a3dd0b..8617d00fe 100644
--- a/security/manager/ssl/nsSiteSecurityService.cpp
+++ b/security/manager/ssl/nsSiteSecurityService.cpp
@@ -1101,17 +1101,6 @@ nsSiteSecurityService::ClearAll()
return mSiteStateStorage->Clear();
}
-NS_IMETHODIMP
-nsSiteSecurityService::ClearPreloads()
-{
- // Child processes are not allowed direct access to this.
- if (!XRE_IsParentProcess()) {
- MOZ_CRASH("Child process: no direct access to nsISiteSecurityService::ClearPreloads");
- }
-
- return mPreloadStateStorage->Clear();
-}
-
bool entryStateNotOK(SiteHPKPState& state, mozilla::pkix::Time& aEvalTime) {
return state.mState != SecurityPropertySet || state.IsExpired(aEvalTime) ||
state.mSHA256keys.Length() < 1;