Replace kid by aik_id in ITA TBOOT functional component
authorAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 16 Mar 2015 16:15:28 +0000 (17:15 +0100)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 16 Mar 2015 16:15:28 +0000 (17:15 +0100)
src/libimcv/pts/components/ita/ita_comp_tboot.c

index 273c18f..ce318ec 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2011-2014 Andreas Steffen
+ * Copyright (C) 2011-2015 Andreas Steffen
  * HSR Hochschule fuer Technik Rapperswil
  *
  * This program is free software; you can redistribute it and/or modify it
@@ -61,11 +61,6 @@ struct pts_ita_comp_tboot_t {
        int cid;
 
        /**
-        * Primary key for AIK database entry
-        */
-       int kid;
-
-       /**
         * Component is registering measurements
         */
        bool is_registering;
@@ -243,7 +238,7 @@ METHOD(pts_component_t, verify, status_t,
        else
        {
                status = this->pts_db->check_comp_measurement(this->pts_db,
-                                                               measurement, this->cid, this->kid,
+                                                               measurement, this->cid, this->aik_id,
                                                                ++this->seq_no, extended_pcr, algo);
                if (status != SUCCESS)
                {