Properly initialize ima flag when adding file measurements

This commit is contained in:
Tobias Brunner
2012-09-28 15:51:39 +02:00
parent 3f0eb04a04
commit 0031bf3eaf
@@ -1159,7 +1159,7 @@ METHOD(attest_db_t, add, bool,
chunk_t measurement, ima_template;
pts_file_meas_t *measurements;
hasher_t *hasher = NULL;
bool ima;
bool ima = FALSE;
int fid, did;
int files_added = 0, hashes_added = 0, ima_hashes_added = 0;
enumerator_t *enumerator, *e;