aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2013-07-24 16:23:14 +0200
committerTobias Brunner <tobias@strongswan.org>2013-07-25 11:28:26 +0200
commit7a192c57a30307a219ef32d082b9e6e00c693b8c (patch)
tree39bec75b190f307880c73dd8ec4a437bf5e1b8da
parent116363e5c639be5e35483ad72ac275e5cfaee4eb (diff)
downloadstrongswan-7a192c57a30307a219ef32d082b9e6e00c693b8c.tar.bz2
strongswan-7a192c57a30307a219ef32d082b9e6e00c693b8c.tar.xz
imv-attestation: Properly measure complete directories
-rw-r--r--src/libpts/plugins/imv_attestation/attest_db.c2
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 e55aa14b3..d7654ab43 100644
--- a/src/libpts/plugins/imv_attestation/attest_db.c
+++ b/src/libpts/plugins/imv_attestation/attest_db.c
@@ -1665,7 +1665,7 @@ static bool add_hash(private_attest_db_t *this)
}
else
{
- measurements = pts_file_meas_create_from_path(0, pathname, TRUE,
+ measurements = pts_file_meas_create_from_path(0, this->dir, TRUE,
TRUE, this->algo);
}
if (!measurements)