From: Andreas Steffen Date: Sat, 29 Oct 2011 20:58:32 +0000 (+0200) Subject: get measurement hashes for a given file X-Git-Tag: 4.6.2~220 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d8399b8b85a37f8dc96b22843208aa63606a435f;p=thirdparty%2Fstrongswan.git get measurement hashes for a given file --- diff --git a/src/libimcv/plugins/imv_attestation/attest.c b/src/libimcv/plugins/imv_attestation/attest.c index 81807b24fd..d2aa52fa71 100644 --- a/src/libimcv/plugins/imv_attestation/attest.c +++ b/src/libimcv/plugins/imv_attestation/attest.c @@ -180,10 +180,14 @@ static void do_args(int argc, char *argv[]) { list_hashes(algo); } - else + else if (product) { list_hashes_for_product(algo, product, pid); } + else + { + list_hashes_for_file(algo, file, fid); + } break; default: usage();