diff options
author | Kinney, Michael D <michael.d.kinney@intel.com> | 2018-07-28 00:00:08 -0700 |
---|---|---|
committer | Kinney, Michael D <michael.d.kinney@intel.com> | 2018-08-02 14:35:24 -0700 |
commit | 4619b183f71c1a7c966927060e99aa1f887f605e (patch) | |
tree | ecc1ce990b723244812b97fc8525fb183197f909 /BaseTools | |
parent | 2779c222c80533677e0cb54cc19d0287d280647f (diff) | |
download | edk2-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>
Diffstat (limited to 'BaseTools')
-rw-r--r-- | BaseTools/Source/Python/Common/Uefi/Capsule/FmpAuthHeader.py | 2 |
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
|