summaryrefslogtreecommitdiff
path: root/trunks/mock_tpm_state.cc
diff options
context:
space:
mode:
Diffstat (limited to 'trunks/mock_tpm_state.cc')
-rw-r--r--trunks/mock_tpm_state.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/trunks/mock_tpm_state.cc b/trunks/mock_tpm_state.cc
index ee52e3b..fad7a75 100644
--- a/trunks/mock_tpm_state.cc
+++ b/trunks/mock_tpm_state.cc
@@ -38,6 +38,7 @@ MockTpmState::MockTpmState() {
ON_CALL(*this, GetLockoutThreshold()).WillByDefault(Return(0));
ON_CALL(*this, GetLockoutInterval()).WillByDefault(Return(0));
ON_CALL(*this, GetLockoutRecovery()).WillByDefault(Return(0));
+ ON_CALL(*this, GetMaxNVSize()).WillByDefault(Return(2048));
}
MockTpmState::~MockTpmState() {}