diff options
author | Tobias Brunner <tobias@strongswan.org> | 2012-09-28 15:51:39 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2012-09-28 15:51:39 +0200 |
commit | 0031bf3eaf0cf85ab3cf385d633acb2811376682 (patch) | |
tree | 3d4f3d802289b283d8f18398c26fc574b1ec2f3c /src | |
parent | 3f0eb04a0428ab91da5e56cdb2e60e2fcaab6c4a (diff) | |
download | strongswan-0031bf3eaf0cf85ab3cf385d633acb2811376682.tar.bz2 strongswan-0031bf3eaf0cf85ab3cf385d633acb2811376682.tar.xz |
Properly initialize ima flag when adding file measurements
Diffstat (limited to 'src')
-rw-r--r-- | src/libpts/plugins/imv_attestation/attest_db.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libpts/plugins/imv_attestation/attest_db.c b/src/libpts/plugins/imv_attestation/attest_db.c index 6f9b4add1..750a27b74 100644 --- a/src/libpts/plugins/imv_attestation/attest_db.c +++ b/src/libpts/plugins/imv_attestation/attest_db.c @@ -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; |