Skip to content

Commit c65fb5b

Browse files
Library: Fixed ImageOrigin types.
1 parent 8c39701 commit c65fb5b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Library/OcBootManagementLib/ImageLoader.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ OcImageLoaderLoad (
297297
SourceBuffer,
298298
(UINT32)SourceSize,
299299
UEFI_IMAGE_SOURCE_FV,
300-
UefiImageOriginFv
300+
UefiImageOriginUserImage
301301
);
302302
if (EFI_ERROR (ImageStatus)) {
303303
DEBUG ((DEBUG_INFO, "OCB: PeCoff init failure - %r\n", ImageStatus));

Library/OcPeCoffExtLib/OcPeCoffExtLib.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ PeCoffVerifyAppleSignature (
467467
&ImageContext,
468468
PeImage,
469469
*ImageSize,
470-
UefiImageOriginFv
470+
UefiImageOriginUserImage
471471
);
472472
if (EFI_ERROR (ImageStatus)) {
473473
DEBUG ((DEBUG_INFO, "OCPE: PeCoff verify init failure - %r\n", ImageStatus));
@@ -563,7 +563,7 @@ PeCoffGetApfsDriverVersion (
563563
&ImageContext,
564564
DriverBuffer,
565565
DriverSize,
566-
UefiImageOriginFv
566+
UefiImageOriginUserImage
567567
);
568568
if (EFI_ERROR (ImageStatus)) {
569569
DEBUG ((DEBUG_INFO, "OCPE: PeCoff apfs init failure - %r\n", ImageStatus));

Utilities/AppleEfiSignTool/AppleEfiSignTool.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ VerifySignatureAndApfs (
118118
&Context,
119119
Image,
120120
ImageSize,
121-
UefiImageOriginFv
121+
UefiImageOriginUserImage
122122
);
123123
}
124124

0 commit comments

Comments
 (0)