fix a misprint with ProtecSecureBoot

Signed-off-by: SergeySlice <sergey.slice@gmail.com>
This commit is contained in:
SergeySlice 2021-02-02 21:06:35 +03:00
parent fa0bdcd181
commit 0a2e29d47d
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 78708c2edcfb358a6577f92a6afda1f99f2f48a0
Subproject commit 620e4378f9a3d0558c144936e3fc5affbf445e44

View File

@ -3022,7 +3022,7 @@ GetEarlyUserSettings (
gSettings.QuirksMask |= gSettings.ocBooterQuirks.ProtectMemoryRegions? QUIRK_REGION:0;
Prop = OcQuirksDict->propertyForKey( "ProtectSecureBoot");
gSettings.ocBooterQuirks.ProtectSecureBoot = IsPropertyNotNullAndTrue(Prop);
gSettings.QuirksMask |= gSettings.ocBooterQuirks.ProtectMemoryRegions? QUIRK_SECURE:0;
gSettings.QuirksMask |= gSettings.ocBooterQuirks.ProtectSecureBoot? QUIRK_SECURE:0;
Prop = OcQuirksDict->propertyForKey( "ProtectUefiServices");
gSettings.ocBooterQuirks.ProtectUefiServices = IsPropertyNotNullAndTrue(Prop);
gSettings.QuirksMask |= gSettings.ocBooterQuirks.ProtectUefiServices? QUIRK_UEFI:0;