mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 23:38:38 +09:00
parent
bcfc5b3a88
commit
6fe7731e5e
4 changed files with 0 additions and 21 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue