Skip to content

Commit

Permalink
SecurityPkg/DxeImageVerificationLib: Mark the File parameter as OPTIONAL
Browse files Browse the repository at this point in the history
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2652

According to the File description, the File is optional and can be NULL.

Signed-off-by: Guomin Jiang <[email protected]>
Cc: Jiewen Yao <[email protected]>
Cc: Jian J Wang <[email protected]>
Cc: Chao Zhang <[email protected]>

Reviewed-by: Jian J Wang <[email protected]>
  • Loading branch information
guominjia authored and mergify[bot] committed Apr 22, 2020
1 parent c14f034 commit 1854eee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1630,7 +1630,7 @@ EFI_STATUS
EFIAPI
DxeImageVerificationHandler (
IN UINT32 AuthenticationStatus,
IN CONST EFI_DEVICE_PATH_PROTOCOL *File,
IN CONST EFI_DEVICE_PATH_PROTOCOL *File, OPTIONAL
IN VOID *FileBuffer,
IN UINTN FileSize,
IN BOOLEAN BootPolicy
Expand Down

0 comments on commit 1854eee

Please sign in to comment.