VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/DcsInt
diff options
context:
space:
mode:
Diffstat (limited to 'DcsInt')
-rw-r--r--DcsInt/DcsInt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/DcsInt/DcsInt.c b/DcsInt/DcsInt.c
index 3303c56..efa3f82 100644
--- a/DcsInt/DcsInt.c
+++ b/DcsInt/DcsInt.c
@@ -1110,7 +1110,7 @@ UefiMain(
res = GetTpm(); // Try to get TPM
if (!EFI_ERROR(res)) {
if (gConfigBuffer != NULL) {
- TpmMeasure(gConfigBuffer, gConfigBufferSize); // Measure configuration
+ gTpm->Measure(gTpm, DCS_TPM_PCR_LOCK, gConfigBufferSize, gConfigBuffer); // Measure configuration
}
if (gTpm->IsConfigured(gTpm) && !gTpm->IsOpen(gTpm) && gTPMLockedInfoDelay) {
ERR_PRINT(L"TPM is configured but locked. Probably boot chain is modified!\n");