fixed attest sql query in list_measurements()
authorAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 15 Feb 2012 22:13:05 +0000 (23:13 +0100)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 15 Feb 2012 22:13:05 +0000 (23:13 +0100)
src/libpts/plugins/imv_attestation/attest_db.c

index 0357e39..88d19ee 100644 (file)
@@ -1017,7 +1017,7 @@ METHOD(attest_db_t, list_measurements, void,
                                "WHERE ch.algo = ? AND ch.key = ? "
                                "ORDER BY vendor_id, name, qualifier, seq_no",
                                DB_INT, this->algo, DB_INT, this->kid, DB_INT, DB_INT, DB_BLOB,
-                               DB_TEXT, DB_INT, DB_INT, DB_INT, DB_INT);
+                               DB_INT, DB_INT, DB_INT, DB_INT);
                if (e)
                {
                        while (e->enumerate(e, &seq_no, &pcr, &hash, &cid, &vid, &name,