mirror of
https://github.com/acidanthera/OpenCorePkg.git
synced 2025-12-08 19:25:01 +00:00
OcAppleSecureBootLib: Fix img4 lookup for SB
This commit is contained in:
parent
55b93a9f5e
commit
d43b086452
@ -601,6 +601,12 @@ InternalGetImg4ByPath (
|
||||
return EFI_NO_MEDIA;
|
||||
}
|
||||
|
||||
OcFileDevicePathFullName (
|
||||
Path,
|
||||
(FILEPATH_DEVICE_PATH *)DevicePath,
|
||||
ImagePathSize
|
||||
);
|
||||
|
||||
Result = mSbHardwareModel[0] != '\0';
|
||||
if (Result) {
|
||||
ManifestSuffix = &Path[(ImagePathSize / sizeof (*Path)) - 1];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user