fixed merge issue

This commit is contained in:
iadgovuser26 2020-05-15 11:00:49 -04:00
parent 70986caf5c
commit 4e6e94aea3

View File

@ -105,7 +105,7 @@ public class TCGEventLogProcessor {
TpmWhiteListBaseline baseline = new TpmWhiteListBaseline(name);
TPMMeasurementRecord record;
String pcrValue;
for (int i = 0; i < TpmPcrEvent.PCR_COUNT; i++) {
for (int i = 0; i < PCR_COUNT; i++) {
if (algorithm.compareToIgnoreCase("TPM_ALG_SHA1") == 0) { // Log Was SHA1 Format
pcrValue = tcgLog.getExpectedPCRValue(i);
byte[] hexValue = HexUtils.hexStringToByteArray(pcrValue);