diff options
author | Guomin Jiang <guomin.jiang@intel.com> | 2020-04-16 15:14:27 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-04-22 01:55:34 +0000 |
commit | 1e823422fbbea531cd162ee6dd8fe40208140b58 (patch) | |
tree | d252564b83036f5a73ba34547ed1579423ebceb2 /MdeModulePkg | |
parent | bfd42b20754034eb403d33c5f83d609bd5654de4 (diff) | |
download | edk2-1e823422fbbea531cd162ee6dd8fe40208140b58.zip edk2-1e823422fbbea531cd162ee6dd8fe40208140b58.tar.gz edk2-1e823422fbbea531cd162ee6dd8fe40208140b58.tar.bz2 |
MdeModulePkg/SecurityStubDxe: 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: Jian J Wang <jian.j.wang@intel.com>
Cc: Hao A Wu <hao.a.wu@intel.com>
Cc: Dandan Bi <dandan.bi@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Universal/SecurityStubDxe/SecurityStub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/SecurityStubDxe/SecurityStub.c b/MdeModulePkg/Universal/SecurityStubDxe/SecurityStub.c index 3ed9527..79f98b2 100644 --- a/MdeModulePkg/Universal/SecurityStubDxe/SecurityStub.c +++ b/MdeModulePkg/Universal/SecurityStubDxe/SecurityStub.c @@ -129,7 +129,7 @@ EFI_STATUS EFIAPI
Security2StubAuthenticate (
IN CONST EFI_SECURITY2_ARCH_PROTOCOL *This,
- IN CONST EFI_DEVICE_PATH_PROTOCOL *File,
+ IN CONST EFI_DEVICE_PATH_PROTOCOL *File, OPTIONAL
IN VOID *FileBuffer,
IN UINTN FileSize,
IN BOOLEAN BootPolicy
|