Changed the pcr value check from the baseline expected pcr values to the measurement live log

This commit is contained in:
Cyrus 2021-05-20 15:24:28 -04:00
parent 65d596a756
commit 7c86b6d0db

View File

@ -443,7 +443,7 @@ public class SupplyChainValidationServiceImpl implements SupplyChainValidationSe
if (passed) {
TCGEventLog logProcessor;
try {
logProcessor = new TCGEventLog(supportReferenceManifest.getRimBytes());
logProcessor = new TCGEventLog(measurement.getRimBytes());
baseline = logProcessor.getExpectedPCRValues();
} catch (CertificateException cEx) {
LOGGER.error(cEx);