]> git.proxmox.com Git - mirror_edk2.git/commitdiff
SecurityPkg/DxeImageAuth: Mark the File parameter as OPTIONAL
authorGuomin Jiang <guomin.jiang@intel.com>
Thu, 16 Apr 2020 06:57:44 +0000 (14:57 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 22 Apr 2020 01:55:34 +0000 (01:55 +0000)
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 <guomin.jiang@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Chao Zhang <chao.b.zhang@intel.com>
Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
SecurityPkg/Library/DxeImageAuthenticationStatusLib/DxeImageAuthenticationStatusLib.c

index e4ddff21b54fb8deed0884d992b83c30d6047ead..ec77151c9c90c937fdd67a7d7f9ddc07bc7990e2 100644 (file)
@@ -32,7 +32,7 @@ EFI_STATUS
 EFIAPI\r
 DxeImageAuthenticationStatusHandler (\r
   IN  UINT32                           AuthenticationStatus,\r
 EFIAPI\r
 DxeImageAuthenticationStatusHandler (\r
   IN  UINT32                           AuthenticationStatus,\r
-  IN  CONST EFI_DEVICE_PATH_PROTOCOL   *File,\r
+  IN  CONST EFI_DEVICE_PATH_PROTOCOL   *File, OPTIONAL\r
   IN  VOID                             *FileBuffer,\r
   IN  UINTN                            FileSize,\r
   IN  BOOLEAN                          BootPolicy\r
   IN  VOID                             *FileBuffer,\r
   IN  UINTN                            FileSize,\r
   IN  BOOLEAN                          BootPolicy\r