From f3eef176f4bbe863ac5e5e748703935fa8b9ffa1 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Thu, 3 Nov 2011 19:30:17 +0100 Subject: [PATCH] Common spelling errors fixed. --- src/libpts/pts/pts.c | 2 +- src/libpts/pts/pts.h | 2 +- src/libpts/tcg/tcg_pts_attr_tpm_version_info.c | 2 +- src/libstrongswan/plugins/pkcs11/pkcs11_private_key.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/libpts/pts/pts.c b/src/libpts/pts/pts.c index b27d5ff..f768b46 100644 --- a/src/libpts/pts/pts.c +++ b/src/libpts/pts/pts.c @@ -294,7 +294,7 @@ METHOD(pts_t, is_path_valid, bool, private_pts_t *this, char *path, } else { - DBG1(DBG_PTS, "error: %s occured while validating path: %s", + DBG1(DBG_PTS, "error: %s occurred while validating path: %s", strerror(error), path); return FALSE; } diff --git a/src/libpts/pts/pts.h b/src/libpts/pts/pts.h index 4dd7b5e..ef408c4 100644 --- a/src/libpts/pts/pts.h +++ b/src/libpts/pts/pts.h @@ -120,7 +120,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); diff --git a/src/libpts/tcg/tcg_pts_attr_tpm_version_info.c b/src/libpts/tcg/tcg_pts_attr_tpm_version_info.c index 3001993..a1e91cc 100644 --- a/src/libpts/tcg/tcg_pts_attr_tpm_version_info.c +++ b/src/libpts/tcg/tcg_pts_attr_tpm_version_info.c @@ -30,7 +30,7 @@ typedef struct private_tcg_pts_attr_tpm_version_info_t private_tcg_pts_attr_tpm_ * 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 * * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - * | TPM Version Information (Variable Lenght) | + * | TPM Version Information (Variable Length) | * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ * * see TPM Structure Specification Part 2, section 21.6: TPM_CAP_VERSION_INFO diff --git a/src/libstrongswan/plugins/pkcs11/pkcs11_private_key.h b/src/libstrongswan/plugins/pkcs11/pkcs11_private_key.h index 53cd0f1..6d3a955 100644 --- a/src/libstrongswan/plugins/pkcs11/pkcs11_private_key.h +++ b/src/libstrongswan/plugins/pkcs11/pkcs11_private_key.h @@ -60,7 +60,7 @@ pkcs11_private_key_t *pkcs11_private_key_connect(key_type_t type, va_list args); * * @param scheme signature scheme * @param type key type - * @param keylen key lenght in bits + * @param keylen key length in bits * @param hash hash algorithm to apply first (HASH_UNKNOWN if none) */ CK_MECHANISM_PTR pkcs11_signature_scheme_to_mech(signature_scheme_t scheme, -- 2.7.4