From: Tobias Brunner Date: Wed, 29 Jun 2016 14:14:17 +0000 (+0200) Subject: Fixed some typos, courtesy of codespell X-Git-Tag: 5.5.0~2 X-Git-Url: https://git.strongswan.org/?p=strongswan.git;a=commitdiff_plain;h=1fafc56b95ede8fa1abb3f798a24679e0c4dcb7d Fixed some typos, courtesy of codespell --- diff --git a/src/libsimaka/simaka_card.h b/src/libsimaka/simaka_card.h index da98b17..b705923 100644 --- a/src/libsimaka/simaka_card.h +++ b/src/libsimaka/simaka_card.h @@ -66,7 +66,7 @@ struct simaka_card_t { * @param ck buffer receiving encryption key ck * @param ik buffer receiving integrity key ik * @param res buffer receiving authentication result res - * @param res_len nubmer of bytes written to res buffer + * @param res_len number of bytes written to res buffer * @return SUCCESS, FAILED, or INVALID_STATE if out of sync */ status_t (*get_quintuplet)(simaka_card_t *this, identification_t *id, diff --git a/src/libsimaka/simaka_manager.h b/src/libsimaka/simaka_manager.h index 045bed4..b10d165 100644 --- a/src/libsimaka/simaka_manager.h +++ b/src/libsimaka/simaka_manager.h @@ -84,7 +84,7 @@ struct simaka_manager_t { * @param ck buffer receiving encryption key ck * @param ik buffer receiving integrity key ik * @param res buffer receiving authentication result res - * @param res_len nubmer of bytes written to res buffer + * @param res_len number of bytes written to res buffer * @return SUCCESS, FAILED, or INVALID_STATE if out of sync */ status_t (*card_get_quintuplet)(simaka_manager_t *this, identification_t *id, diff --git a/src/libsimaka/simaka_provider.h b/src/libsimaka/simaka_provider.h index f4faba8..ef1c739 100644 --- a/src/libsimaka/simaka_provider.h +++ b/src/libsimaka/simaka_provider.h @@ -62,7 +62,7 @@ struct simaka_provider_t { * @param id permanent identity of peer to create challenge for * @param rand buffer receiving random value rand * @param xres buffer receiving expected authentication result xres - * @param xres_len nubmer of bytes written to xres buffer + * @param xres_len number of bytes written to xres buffer * @param ck buffer receiving encryption key ck * @param ik buffer receiving integrity key ik * @param autn authentication token autn diff --git a/src/libstrongswan/plugins/openssl/openssl_pkcs7.c b/src/libstrongswan/plugins/openssl/openssl_pkcs7.c index f10987c..5752d96 100644 --- a/src/libstrongswan/plugins/openssl/openssl_pkcs7.c +++ b/src/libstrongswan/plugins/openssl/openssl_pkcs7.c @@ -507,7 +507,7 @@ static bool decrypt_symmetric(private_openssl_pkcs7_t *this, chunk_t key, chunk_t iv; size_t key_size; - /* read encryption algorithm from interal structures; TODO fixup */ + /* read encryption algorithm from internal structures; TODO fixup */ alg = this->cms->envelopedData->encryptedContentInfo-> contentEncryptionAlgorithm; encr = encryption_algorithm_from_oid(openssl_asn1_known_oid(alg->algorithm), diff --git a/src/libtpmtss/tpm_tss_quote_info.c b/src/libtpmtss/tpm_tss_quote_info.c index 0afd0b5..0341738 100644 --- a/src/libtpmtss/tpm_tss_quote_info.c +++ b/src/libtpmtss/tpm_tss_quote_info.c @@ -67,7 +67,7 @@ struct private_tpm_tss_quote_info_t { chunk_t pcr_digest; /** - * TPM PCR Composite Hash algoritm + * TPM PCR Composite Hash algorithm */ hash_algorithm_t pcr_digest_alg;