Fixed additional typos in comments and log messages.

This commit is contained in:
Tobias Brunner
2012-01-12 11:42:42 +01:00
parent d887b8e134
commit 35a1986142
15 changed files with 20 additions and 20 deletions
@@ -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;
}
+1 -1
View File
@@ -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;
}
+3 -3
View File
@@ -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)