diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2011-11-28 00:53:24 +0100 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2011-11-28 21:24:00 +0100 |
commit | db08702326bdccf09d08c2f5015b3d518cbe7dbb (patch) | |
tree | 08eeba139856040c78ccb473e923570adb2027cd /src/libpts/plugins/imv_attestation/imv_attestation_process.c | |
parent | f2a521e7953342e3c9fb7d2742faa55ba015bf8a (diff) | |
download | strongswan-db08702326bdccf09d08c2f5015b3d518cbe7dbb.tar.bz2 strongswan-db08702326bdccf09d08c2f5015b3d518cbe7dbb.tar.xz |
automatically registering component measurements
Diffstat (limited to 'src/libpts/plugins/imv_attestation/imv_attestation_process.c')
-rw-r--r-- | src/libpts/plugins/imv_attestation/imv_attestation_process.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libpts/plugins/imv_attestation/imv_attestation_process.c b/src/libpts/plugins/imv_attestation/imv_attestation_process.c index a50810b67..805a08c25 100644 --- a/src/libpts/plugins/imv_attestation/imv_attestation_process.c +++ b/src/libpts/plugins/imv_attestation/imv_attestation_process.c @@ -284,7 +284,7 @@ bool imv_attestation_process(pa_tnc_attr_t *attr, linked_list_t *attr_list, DBG1(DBG_IMV, " no entry found for component evidence request"); break; } - status = comp->verify(comp, pts, pts_db, evidence); + status = comp->verify(comp, pts, evidence); switch (status) { @@ -348,6 +348,9 @@ bool imv_attestation_process(pa_tnc_attr_t *attr, linked_list_t *attr_list, } DBG2(DBG_IMV, "TPM Quote Info signature verification successful"); free(quote_info.ptr); + + /* Finalize any pending measurement registrations */ + attestation_state->check_off_registrations(attestation_state); } if (attr_cast->get_evid_sig(attr_cast, &evid_sig)) |