summaryrefslogtreecommitdiffstats
path: root/src/usr/secureboot
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/secureboot')
-rw-r--r--src/usr/secureboot/trusted/tpmLogMgr.C1
-rw-r--r--src/usr/secureboot/trusted/trustedTypes.H2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/usr/secureboot/trusted/tpmLogMgr.C b/src/usr/secureboot/trusted/tpmLogMgr.C
index ecefe9e5b..cdc56f07e 100644
--- a/src/usr/secureboot/trusted/tpmLogMgr.C
+++ b/src/usr/secureboot/trusted/tpmLogMgr.C
@@ -103,6 +103,7 @@ namespace TRUSTEDBOOT
i_val->newEventPtr = i_val->eventLog;
memset(i_val->eventLog, 0, TPMLOG_BUFFER_SIZE);
+ memset(&eventLogEntry, 0, sizeof(eventLogEntry));
eventData = (TCG_EfiSpecIdEventStruct*) eventLogEntry.event;
// Add the header event log
diff --git a/src/usr/secureboot/trusted/trustedTypes.H b/src/usr/secureboot/trusted/trustedTypes.H
index 104eeab99..8a4cc434e 100644
--- a/src/usr/secureboot/trusted/trustedTypes.H
+++ b/src/usr/secureboot/trusted/trustedTypes.H
@@ -99,7 +99,7 @@ namespace TRUSTEDBOOT
// TPM Spec supported
TPM_SPEC_MAJOR = 2,
TPM_SPEC_MINOR = 0,
- TPM_SPEC_ERRATA = 0,
+ TPM_SPEC_ERRATA = 2,
TPM_PLATFORM_SERVER = 1,
// Command structure tags
OpenPOWER on IntegriCloud