mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-03 00:00:24 -04:00
pts: Fix build with DEBUG_LEVEL < 1
This commit is contained in:
parent
e248f0f3c2
commit
0784ebdd2d
@ -127,7 +127,8 @@ METHOD(pts_file_meas_t, check, bool,
|
||||
enumerator_t *enumerator, *e;
|
||||
entry_t *entry;
|
||||
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;
|
||||
|
||||
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)
|
||||
{
|
||||
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;
|
||||
uint8_t event_buf[buf_len];
|
||||
hash_algorithm_t hash_alg;
|
||||
|
Loading…
x
Reference in New Issue
Block a user