pts: Fix build with DEBUG_LEVEL < 1
This commit is contained in:
@@ -127,7 +127,8 @@ METHOD(pts_file_meas_t, check, bool,
|
|||||||
enumerator_t *enumerator, *e;
|
enumerator_t *enumerator, *e;
|
||||||
entry_t *entry;
|
entry_t *entry;
|
||||||
chunk_t hash;
|
chunk_t hash;
|
||||||
int count_ok = 0, count_not_found = 0, count_differ = 0;
|
int count_ok DBG_UNUSED = 0, count_not_found DBG_UNUSED = 0;
|
||||||
|
int count_differ DBG_UNUSED = 0;
|
||||||
status_t status;
|
status_t status;
|
||||||
|
|
||||||
enumerator = this->list->create_enumerator(this->list);
|
enumerator = this->list->create_enumerator(this->list);
|
||||||
|
|||||||
@@ -201,7 +201,7 @@ pts_ima_bios_list_t* pts_ima_bios_list_create(tpm_tss_t *tpm, char *file,
|
|||||||
pts_meas_algorithms_t algo)
|
pts_meas_algorithms_t algo)
|
||||||
{
|
{
|
||||||
private_pts_ima_bios_list_t *this;
|
private_pts_ima_bios_list_t *this;
|
||||||
uint32_t pcr, event_type, event_len, seek_len, count = 1;
|
uint32_t pcr, event_type, event_len, seek_len, count DBG_UNUSED = 1;
|
||||||
uint32_t buf_len = 8192;
|
uint32_t buf_len = 8192;
|
||||||
uint8_t event_buf[buf_len];
|
uint8_t event_buf[buf_len];
|
||||||
hash_algorithm_t hash_alg;
|
hash_algorithm_t hash_alg;
|
||||||
|
|||||||
Reference in New Issue
Block a user