Fixed additional typos in comments and log messages.
This commit is contained in:
@@ -422,7 +422,7 @@ bool imc_attestation_process(pa_tnc_attr_t *attr, linked_list_t *attr_list,
|
||||
"libimcv.plugins.imc-attestation.use_quote2", TRUE);
|
||||
if (!pts->quote_tpm(pts, use_quote2, &pcr_composite, "e_sig))
|
||||
{
|
||||
DBG1(DBG_IMC, "error occured during TPM quote operation");
|
||||
DBG1(DBG_IMC, "error occurred during TPM quote operation");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
||||
@@ -87,7 +87,7 @@ METHOD(pts_component_t, measure, status_t,
|
||||
|
||||
if (!pts->read_pcr(pts, extended_pcr, &pcr_after))
|
||||
{
|
||||
DBG1(DBG_PTS, "error occured while reading PCR: %d", extended_pcr);
|
||||
DBG1(DBG_PTS, "error occurred while reading PCR: %d", extended_pcr);
|
||||
return FAILED;
|
||||
}
|
||||
|
||||
|
||||
@@ -557,7 +557,7 @@ METHOD(pts_t, is_path_valid, bool,
|
||||
}
|
||||
else
|
||||
{
|
||||
DBG1(DBG_PTS, "error: %s occured while validating path: %s",
|
||||
DBG1(DBG_PTS, "error: %s occurred while validating path: %s",
|
||||
strerror(errno), path);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
@@ -69,7 +69,7 @@ typedef struct pts_t pts_t;
|
||||
#define ASSESSMENT_SECRET_LEN 20
|
||||
|
||||
/**
|
||||
* Lenght of the TPM_QUOTE_INFO structure, TPM Spec 1.2
|
||||
* Length of the TPM_QUOTE_INFO structure, TPM Spec 1.2
|
||||
*/
|
||||
#define TPM_QUOTE_INFO_LEN 48
|
||||
|
||||
@@ -225,7 +225,7 @@ struct pts_t {
|
||||
* @param error_code Output variable for PTS error code
|
||||
* @return TRUE if path is valid or file/directory
|
||||
* doesn't exist or path is invalid
|
||||
* FALSE if local error occured within stat function
|
||||
* FALSE if local error occurred within stat function
|
||||
*/
|
||||
bool (*is_path_valid)(pts_t *this, char *path, pts_error_code_t *error_code);
|
||||
|
||||
@@ -285,7 +285,7 @@ struct pts_t {
|
||||
* Quote over PCR's
|
||||
* Expects owner and SRK secret to be WELL_KNOWN_SECRET and no password set for AIK
|
||||
*
|
||||
* @param use_quote2 Version of the Quote funtion to be used
|
||||
* @param use_quote2 Version of the Quote function to be used
|
||||
* @param pcr_comp Chunk to save PCR composite structure
|
||||
* @param quote_sig Chunk to save quote operation output
|
||||
* without external data (anti-replay protection)
|
||||
|
||||
@@ -357,7 +357,7 @@ METHOD(pa_tnc_attr_t, process, status_t,
|
||||
if (!reader->read_uint16(reader, &len))
|
||||
{
|
||||
DBG1(DBG_TNC, "insufficient data for PTS Simple Component Evidence "
|
||||
"Verification Policy URI Lenght");
|
||||
"Verification Policy URI Length");
|
||||
goto end;
|
||||
}
|
||||
if (!reader->read_data(reader, len, &policy_uri))
|
||||
|
||||
@@ -243,7 +243,7 @@ METHOD(pa_tnc_attr_t, process, status_t,
|
||||
if (!reader->read_uint32(reader, &pcr_comp_len))
|
||||
{
|
||||
DBG1(DBG_TNC, "insufficient data for PTS Simple Evidence Final "
|
||||
"PCR Composite Lenght");
|
||||
"PCR Composite Length");
|
||||
goto end;
|
||||
}
|
||||
if (!reader->read_data(reader, pcr_comp_len, &this->pcr_comp))
|
||||
@@ -257,7 +257,7 @@ METHOD(pa_tnc_attr_t, process, status_t,
|
||||
if (!reader->read_uint32(reader, &tpm_quote_sig_len))
|
||||
{
|
||||
DBG1(DBG_TNC, "insufficient data for PTS Simple Evidence Final "
|
||||
"TPM Quote Singature Lenght");
|
||||
"TPM Quote Singature Length");
|
||||
goto end;
|
||||
}
|
||||
if (!reader->read_data(reader, tpm_quote_sig_len, &this->tpm_quote_sig))
|
||||
|
||||
Reference in New Issue
Block a user