From c14f034a1ad0a2fdeb9f0870ffd35b7332a19a2a Mon Sep 17 00:00:00 2001 From: Guomin Jiang Date: Thu, 16 Apr 2020 14:57:44 +0800 Subject: [PATCH] SecurityPkg/DxeImageAuth: Mark the File parameter as OPTIONAL 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 Cc: Jiewen Yao Cc: Jian J Wang Cc: Chao Zhang Reviewed-by: Jian J Wang --- .../DxeImageAuthenticationStatusLib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SecurityPkg/Library/DxeImageAuthenticationStatusLib/DxeImageAuthenticationStatusLib.c b/SecurityPkg/Library/DxeImageAuthenticationStatusLib/DxeImageAuthenticationStatusLib.c index e4ddff21b5..ec77151c9c 100644 --- a/SecurityPkg/Library/DxeImageAuthenticationStatusLib/DxeImageAuthenticationStatusLib.c +++ b/SecurityPkg/Library/DxeImageAuthenticationStatusLib/DxeImageAuthenticationStatusLib.c @@ -32,7 +32,7 @@ EFI_STATUS EFIAPI DxeImageAuthenticationStatusHandler ( 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 -- 2.39.2