VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/DcsInt
diff options
context:
space:
mode:
authorkavsrf <kavsrf@gmail.com>2017-04-17 23:30:06 +0300
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2017-06-18 15:41:16 +0200
commit3058711f8b12cf11585e0eda2a1b573f0d871667 (patch)
tree3bfcf8f345924c10e0e11fd266b7b4ab133fbe54 /DcsInt
parent3cddd24df26085682c819a3c8e9e3ce21a2872da (diff)
downloadVeraCrypt-DCS-3058711f8b12cf11585e0eda2a1b573f0d871667.tar.gz
VeraCrypt-DCS-3058711f8b12cf11585e0eda2a1b573f0d871667.zip
TPM 2.0
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");