From: Guomin Jiang Date: Thu, 16 Apr 2020 07:16:48 +0000 (+0800) Subject: MdePkg/Security2: Mark the File parameter as OPTIONAL. X-Git-Tag: edk2-stable202005~156 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=c6a60cf4b99069f55325675c7c7e98b510f4b224 MdePkg/Security2: Mark the File parameter as OPTIONAL. REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2652 According to the description, the File is OPTIONAL and can be NULL. Signed-off-by: Guomin Jiang Cc: Michael D Kinney Cc: Liming Gao Reviewed-by: Liming Gao --- diff --git a/MdePkg/Include/Protocol/Security2.h b/MdePkg/Include/Protocol/Security2.h index 2d85b4ba9f..91b85b2154 100644 --- a/MdePkg/Include/Protocol/Security2.h +++ b/MdePkg/Include/Protocol/Security2.h @@ -80,7 +80,7 @@ typedef struct _EFI_SECURITY2_ARCH_PROTOCOL EFI_SECURITY2_ARCH_PROTOCOL; **/ typedef EFI_STATUS (EFIAPI *EFI_SECURITY2_FILE_AUTHENTICATION) ( IN CONST EFI_SECURITY2_ARCH_PROTOCOL *This, - IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath, + IN CONST EFI_DEVICE_PATH_PROTOCOL *File, OPTIONAL IN VOID *FileBuffer, IN UINTN FileSize, IN BOOLEAN BootPolicy