summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKinney, Michael D <michael.d.kinney@intel.com>2018-07-28 00:00:08 -0700
committerKinney, Michael D <michael.d.kinney@intel.com>2018-08-02 14:35:24 -0700
commit4619b183f71c1a7c966927060e99aa1f887f605e (patch)
treeecc1ce990b723244812b97fc8525fb183197f909
parent2779c222c80533677e0cb54cc19d0287d280647f (diff)
downloadedk2-4619b183f71c1a7c966927060e99aa1f887f605e.tar.gz
edk2-4619b183f71c1a7c966927060e99aa1f887f605e.tar.bz2
edk2-4619b183f71c1a7c966927060e99aa1f887f605e.zip
BaseTools/Capsule: Fix CertType GUID byte order
https://bugzilla.tianocore.org/show_bug.cgi?id=1024 Cc: Sean Brogan <sean.brogan@microsoft.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Yonghong Zhu <yonghong.zhu@intel.com> Cc: Liming Gao <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
-rw-r--r--BaseTools/Source/Python/Common/Uefi/Capsule/FmpAuthHeader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/Common/Uefi/Capsule/FmpAuthHeader.py b/BaseTools/Source/Python/Common/Uefi/Capsule/FmpAuthHeader.py
index aec52bf772..ae5c1df8a4 100644
--- a/BaseTools/Source/Python/Common/Uefi/Capsule/FmpAuthHeader.py
+++ b/BaseTools/Source/Python/Common/Uefi/Capsule/FmpAuthHeader.py
@@ -166,7 +166,7 @@ class FmpAuthHeaderClass (object):
self.dwLength = dwLength
self.wRevision = wRevision
self.wCertificateType = wCertificateType
- self.CertType = uuid.UUID (bytes = CertType)
+ self.CertType = uuid.UUID (bytes_le = CertType)
self.CertData = Buffer[self._StructSize:self._MonotonicCountSize + self.dwLength]
self.Payload = Buffer[self._MonotonicCountSize + self.dwLength:]
self._Valid = True