[edk2] [Patch] BaseTools: Align WIN_CERTIFICATE_UEFI_GUID definition to MdePkg one.

Liming Gao posted 1 patch 6 years, 9 months ago
Failed in applying to current master (apply log)
BaseTools/Source/C/Include/Common/UefiMultiPhase.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[edk2] [Patch] BaseTools: Align WIN_CERTIFICATE_UEFI_GUID definition to MdePkg one.
Posted by Liming Gao 6 years, 9 months ago
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming.gao@intel.com>
---
 BaseTools/Source/C/Include/Common/UefiMultiPhase.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/BaseTools/Source/C/Include/Common/UefiMultiPhase.h b/BaseTools/Source/C/Include/Common/UefiMultiPhase.h
index f779590..f4f9dbe 100644
--- a/BaseTools/Source/C/Include/Common/UefiMultiPhase.h
+++ b/BaseTools/Source/C/Include/Common/UefiMultiPhase.h
@@ -3,7 +3,7 @@
   and DXE phases.
 
   (C) Copyright 2015 Hewlett-Packard Development Company, L.P.<BR>
-  Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
+  Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
 
   This program and the accompanying materials are licensed and made available
   under the terms and conditions of the BSD License which accompanies this
@@ -153,7 +153,7 @@ typedef struct _EFI_CERT_BLOCK_RSA_2048_SHA256 {
 typedef struct _WIN_CERTIFICATE_UEFI_GUID {
   WIN_CERTIFICATE   Hdr;
   EFI_GUID          CertType;
-  // UINT8            CertData[ANYSIZE_ARRAY];
+  UINT8             CertData[1];
 } WIN_CERTIFICATE_UEFI_GUID;
 
 
-- 
2.8.0.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Re: [edk2] [Patch] BaseTools: Align WIN_CERTIFICATE_UEFI_GUID definition to MdePkg one.
Posted by Zhu, Yonghong 6 years, 9 months ago
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com> 

Best Regards,
Zhu Yonghong


-----Original Message-----
From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Liming Gao
Sent: Wednesday, February 28, 2018 4:36 PM
To: edk2-devel@lists.01.org
Subject: [edk2] [Patch] BaseTools: Align WIN_CERTIFICATE_UEFI_GUID definition to MdePkg one.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming.gao@intel.com>
---
 BaseTools/Source/C/Include/Common/UefiMultiPhase.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/BaseTools/Source/C/Include/Common/UefiMultiPhase.h b/BaseTools/Source/C/Include/Common/UefiMultiPhase.h
index f779590..f4f9dbe 100644
--- a/BaseTools/Source/C/Include/Common/UefiMultiPhase.h
+++ b/BaseTools/Source/C/Include/Common/UefiMultiPhase.h
@@ -3,7 +3,7 @@
   and DXE phases.
 
   (C) Copyright 2015 Hewlett-Packard Development Company, L.P.<BR>
-  Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
+  Copyright (c) 2006 - 2018, Intel Corporation. All rights 
+ reserved.<BR>
 
   This program and the accompanying materials are licensed and made available
   under the terms and conditions of the BSD License which accompanies this @@ -153,7 +153,7 @@ typedef struct _EFI_CERT_BLOCK_RSA_2048_SHA256 {  typedef struct _WIN_CERTIFICATE_UEFI_GUID {
   WIN_CERTIFICATE   Hdr;
   EFI_GUID          CertType;
-  // UINT8            CertData[ANYSIZE_ARRAY];
+  UINT8             CertData[1];
 } WIN_CERTIFICATE_UEFI_GUID;
 
 
--
2.8.0.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel