From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mx.groups.io with SMTP id smtpd.web12.2211.1587022450060282729 for ; Thu, 16 Apr 2020 00:34:10 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.115, mailfrom: guomin.jiang@intel.com) IronPort-SDR: /5B8OF4Yu5CBQWuEGeOYxaAbisK2Kq6mhP2OQcH2+nIXsN3ztX5IVtBJTNSJfrJwO8F09Lw2yd 3NueZxnkSFFg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Apr 2020 00:33:59 -0700 IronPort-SDR: RUXmoiPtbrt7Q1aEGbGbmOxKTiKR1BYZl5BWanRNSstPrHHo4RWjNWQNg+HqzGOv6nFNYETRyX seT/OtjG5MLA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,390,1580803200"; d="scan'208";a="288803540" Received: from guominji-mobl.ccr.corp.intel.com ([10.238.5.173]) by fmsmga002.fm.intel.com with ESMTP; 16 Apr 2020 00:33:58 -0700 From: "Guomin Jiang" To: devel@edk2.groups.io Cc: Jiewen Yao , Jian J Wang , Chao Zhang Subject: [PATCH v2 2/6] SecurityPkg/DxeImageAuth: Mark the File parameter as option Date: Thu, 16 Apr 2020 15:33:50 +0800 Message-Id: <20200416073354.2232-3-guomin.jiang@intel.com> X-Mailer: git-send-email 2.25.1.windows.1 In-Reply-To: <20200416073354.2232-1-guomin.jiang@intel.com> References: <20200416073354.2232-1-guomin.jiang@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2652 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 --- .../DxeImageAuthenticationStatusLib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SecurityPkg/Library/DxeImageAuthenticationStatusLib/DxeImageAu= thenticationStatusLib.c b/SecurityPkg/Library/DxeImageAuthenticationStatusL= ib/DxeImageAuthenticationStatusLib.c index e4ddff21b5..ec77151c9c 100644 --- a/SecurityPkg/Library/DxeImageAuthenticationStatusLib/DxeImageAuthentic= ationStatusLib.c +++ b/SecurityPkg/Library/DxeImageAuthenticationStatusLib/DxeImageAuthentic= ationStatusLib.c @@ -32,7 +32,7 @@ EFI_STATUS EFIAPI=0D DxeImageAuthenticationStatusHandler (=0D IN UINT32 AuthenticationStatus,=0D - IN CONST EFI_DEVICE_PATH_PROTOCOL *File,=0D + IN CONST EFI_DEVICE_PATH_PROTOCOL *File, OPTIONAL=0D IN VOID *FileBuffer,=0D IN UINTN FileSize,=0D IN BOOLEAN BootPolicy=0D --=20 2.25.1.windows.1