mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
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>
This commit is contained in:
parent
2779c222c8
commit
4619b183f7
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user