summaryrefslogtreecommitdiffstats
path: root/MdePkg/Include
diff options
context:
space:
mode:
authorGuomin Jiang <guomin.jiang@intel.com>2020-04-16 15:16:48 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-04-22 01:55:34 +0000
commitc6a60cf4b99069f55325675c7c7e98b510f4b224 (patch)
treec502ce0b103ad3ce00c356678f4b0b0ee4038b39 /MdePkg/Include
parent1e823422fbbea531cd162ee6dd8fe40208140b58 (diff)
downloadedk2-c6a60cf4b99069f55325675c7c7e98b510f4b224.tar.gz
edk2-c6a60cf4b99069f55325675c7c7e98b510f4b224.tar.bz2
edk2-c6a60cf4b99069f55325675c7c7e98b510f4b224.zip
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 <guomin.jiang@intel.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Liming Gao <liming.gao@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'MdePkg/Include')
-rw-r--r--MdePkg/Include/Protocol/Security2.h2
1 files changed, 1 insertions, 1 deletions
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