Temporary commenting out of processing optional PCR Composite field
This commit is contained in:
committed by
Andreas Steffen
parent
52ae3f27f8
commit
d09cf19716
@@ -236,7 +236,7 @@ METHOD(pa_tnc_attr_t, process, status_t,
|
|||||||
/* Optional Composite Hash Algorithm and TPM PCR Composite field is included */
|
/* Optional Composite Hash Algorithm and TPM PCR Composite field is included */
|
||||||
if (this->flags != PTS_SIMPLE_EVID_FINAL_FLAG_NO)
|
if (this->flags != PTS_SIMPLE_EVID_FINAL_FLAG_NO)
|
||||||
{
|
{
|
||||||
u_int32_t pcr_comp_len;
|
/** u_int32_t pcr_comp_len;*/
|
||||||
u_int32_t tpm_quote_sign_len;
|
u_int32_t tpm_quote_sign_len;
|
||||||
|
|
||||||
/** TODO: Ignoring Hashing algorithm field
|
/** TODO: Ignoring Hashing algorithm field
|
||||||
@@ -244,9 +244,14 @@ METHOD(pa_tnc_attr_t, process, status_t,
|
|||||||
* reader->read_uint16(reader, &algorithm);
|
* reader->read_uint16(reader, &algorithm);
|
||||||
* this->comp_hash_algorithm = algorithm;
|
* this->comp_hash_algorithm = algorithm;
|
||||||
*/
|
*/
|
||||||
reader->read_uint32(reader, &pcr_comp_len);
|
|
||||||
reader->read_data(reader, pcr_comp_len, &this->pcr_comp);
|
/** TODO: Ignoring PCR Composite field
|
||||||
this->pcr_comp = chunk_clone(this->pcr_comp);
|
* Which data to send in this field from IMC?
|
||||||
|
* reader->read_uint32(reader, &pcr_comp_len);
|
||||||
|
* reader->read_data(reader, pcr_comp_len, &this->pcr_comp);
|
||||||
|
* this->pcr_comp = chunk_clone(this->pcr_comp);
|
||||||
|
*/
|
||||||
|
this->pcr_comp = chunk_empty;
|
||||||
reader->read_uint32(reader, &tpm_quote_sign_len);
|
reader->read_uint32(reader, &tpm_quote_sign_len);
|
||||||
reader->read_data(reader, tpm_quote_sign_len, &this->tpm_quote_sign);
|
reader->read_data(reader, tpm_quote_sign_len, &this->tpm_quote_sign);
|
||||||
this->tpm_quote_sign = chunk_clone(this->tpm_quote_sign);
|
this->tpm_quote_sign = chunk_clone(this->tpm_quote_sign);
|
||||||
|
|||||||
Reference in New Issue
Block a user