Merge branch 'master' into issue-245

This commit is contained in:
iadgovuser26 2020-05-15 09:32:16 -04:00 committed by GitHub
commit 70986caf5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

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

View File

@ -45,7 +45,6 @@ public class TcgTpmtHa {
public static final int TPM_ALG_NULL_LENGTH = 0;
/** buffer to hold the structure. */
private byte[] buffer = null;
/**
* Constructor.
*