little bug fix
authorAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 7 Sep 2011 23:34:24 +0000 (01:34 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 8 Sep 2011 10:20:58 +0000 (12:20 +0200)
src/libimcv/plugins/imv_attestation/imv_attestation.c
src/libimcv/tcg/pts/pts_file_meas.c

index 6f5bd4b..2bde308 100644 (file)
@@ -526,7 +526,6 @@ TNC_Result TNC_IMV_ReceiveMessage(TNC_IMVID imv_id,
                                                                        platform_info, algo, request_id, is_dir);
                                        if (!measurements->verify(measurements, e_hash, is_dir))
                                        {
-                                               DBG1(DBG_IMV, "  measurement error occured"); 
                                                measurement_error = TRUE;
                                        }
                                        e_hash->destroy(e_hash);
index 8208949..a8a08ab 100644 (file)
@@ -135,6 +135,7 @@ METHOD(pts_file_meas_t, verify, bool,
                {
                        DBG1(DBG_TNC, "  no measurement found for '%s'", filename);
                        success = FALSE;
+                       continue;
                }
                if (chunk_equals(measurement, entry->measurement))
                {