Replace kid by aik_id in ITA TBOOT functional component

This commit is contained in:
Andreas Steffen
2015-03-16 17:15:28 +01:00
parent d35143bb8d
commit 08feb4548a
@@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2011-2014 Andreas Steffen * Copyright (C) 2011-2015 Andreas Steffen
* HSR Hochschule fuer Technik Rapperswil * HSR Hochschule fuer Technik Rapperswil
* *
* This program is free software; you can redistribute it and/or modify it * This program is free software; you can redistribute it and/or modify it
@@ -60,11 +60,6 @@ struct pts_ita_comp_tboot_t {
*/ */
int cid; int cid;
/**
* Primary key for AIK database entry
*/
int kid;
/** /**
* Component is registering measurements * Component is registering measurements
*/ */
@@ -243,7 +238,7 @@ METHOD(pts_component_t, verify, status_t,
else else
{ {
status = this->pts_db->check_comp_measurement(this->pts_db, 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); ++this->seq_no, extended_pcr, algo);
if (status != SUCCESS) if (status != SUCCESS)
{ {