From: Tobias Brunner Date: Tue, 14 Nov 2023 09:11:16 +0000 (+0100) Subject: Fixed some typos, courtesy of codespell X-Git-Tag: 5.9.12~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14bd0bc743abb391a5af2ff8bfb315ca071ad0a6;p=thirdparty%2Fstrongswan.git Fixed some typos, courtesy of codespell --- diff --git a/src/cert-enroll/cert-enroll.in b/src/cert-enroll/cert-enroll.in index ad21c79a26..f081cb7d79 100644 --- a/src/cert-enroll/cert-enroll.in +++ b/src/cert-enroll/cert-enroll.in @@ -265,7 +265,7 @@ then fi ############################################################################## -# Check if non-empty certficate already exists +# Check if non-empty certificate already exists # if [ -s $HOSTCERT ] then diff --git a/src/cert-enroll/cert-install-sssd b/src/cert-enroll/cert-install-sssd index 33bb49182c..c3e87c3c84 100644 --- a/src/cert-enroll/cert-install-sssd +++ b/src/cert-enroll/cert-install-sssd @@ -1,6 +1,6 @@ #!/bin/bash # Install the present and past CA certificates in the ldap_tls_cacertdir -# directory defined by sssd.conf, folllowed by the execution of the +# directory defined by sssd.conf, followed by the execution of the # openssl_rehash command in that directory so that the SSSD daemon can verify # the LDAP server certificate. # diff --git a/src/charon-cmd/charon-cmd.8.in b/src/charon-cmd/charon-cmd.8.in index c9b4d86250..0db4c8594d 100644 --- a/src/charon-cmd/charon-cmd.8.in +++ b/src/charon-cmd/charon-cmd.8.in @@ -98,7 +98,7 @@ RSA private key to use for authentication (if a password is required, it will be requested on demand). For other key types use \fI\-\-priv\fR. .TP .BI "\-\-priv " path -Pivate key to use for authentication (if a password is required, it will +Private key to use for authentication (if a password is required, it will be requested on demand). .TP .BI "\-\-p12 " path diff --git a/src/libcharon/plugins/eap_radius/eap_radius_forward.c b/src/libcharon/plugins/eap_radius/eap_radius_forward.c index c5f067c990..dd68f64c38 100644 --- a/src/libcharon/plugins/eap_radius/eap_radius_forward.c +++ b/src/libcharon/plugins/eap_radius/eap_radius_forward.c @@ -220,7 +220,7 @@ static void radius2queue(radius_message_t *message, linked_list_t *queue, } /** - * Copy RADIUS attribute nofifies from IKE message to queue + * Copy RADIUS attribute notifies from IKE message to queue */ static void ike2queue(message_t *message, linked_list_t *queue, linked_list_t *selector) diff --git a/src/libcharon/plugins/kernel_libipsec/kernel_libipsec_ipsec.c b/src/libcharon/plugins/kernel_libipsec/kernel_libipsec_ipsec.c index cf35592fd8..b0fb2f970b 100644 --- a/src/libcharon/plugins/kernel_libipsec/kernel_libipsec_ipsec.c +++ b/src/libcharon/plugins/kernel_libipsec/kernel_libipsec_ipsec.c @@ -421,7 +421,7 @@ static bool install_route(private_kernel_libipsec_ipsec_t *this, bool ignore = FALSE; int family; - /* ignore multi- and broadcast TS, othewise, install a route without + /* ignore multi- and broadcast TS, otherwise, install a route without * preferred source IP to forward non-local traffic via TUN device */ switch (src_ts->get_type(src_ts)) { diff --git a/src/libcharon/plugins/kernel_netlink/kernel_netlink_ipsec.c b/src/libcharon/plugins/kernel_netlink/kernel_netlink_ipsec.c index efd705db20..2420236d3b 100644 --- a/src/libcharon/plugins/kernel_netlink/kernel_netlink_ipsec.c +++ b/src/libcharon/plugins/kernel_netlink/kernel_netlink_ipsec.c @@ -1613,7 +1613,7 @@ static bool add_hw_offload_sa(struct nlmsghdr *hdr, int buflen, } /** - * Add a HW offload attribuet to the given policy-related message. + * Add a HW offload attribute to the given policy-related message. */ static bool add_hw_offload_policy(struct nlmsghdr *hdr, int buflen, policy_entry_t *policy, diff --git a/src/libimcv/plugins/imv_swima/imv_swima_state.h b/src/libimcv/plugins/imv_swima/imv_swima_state.h index 7e47608949..3f6c58c508 100644 --- a/src/libimcv/plugins/imv_swima/imv_swima_state.h +++ b/src/libimcv/plugins/imv_swima/imv_swima_state.h @@ -105,9 +105,9 @@ struct imv_swima_state_t { json_object* (*get_jrequest)(imv_swima_state_t *this); /** - * Set the number of still missing SW [ID] records or envents + * Set the number of still missing SW [ID] records or events * - * @param count Number of missing SW [ID] records or envents + * @param count Number of missing SW [ID] records or events */ void (*set_missing)(imv_swima_state_t *this, uint32_t count); diff --git a/src/libstrongswan/crypto/crypto_tester.h b/src/libstrongswan/crypto/crypto_tester.h index 95a9342f06..33367e722b 100644 --- a/src/libstrongswan/crypto/crypto_tester.h +++ b/src/libstrongswan/crypto/crypto_tester.h @@ -322,7 +322,7 @@ struct crypto_tester_t { * * @param ke key exchange method to test * @param create constructor function for the key exchange method - * @param speed speeed test result, NULL to omit + * @param speed speed test result, NULL to omit * @return TRUE if test passed */ bool (*test_ke)(crypto_tester_t *this, key_exchange_method_t ke, diff --git a/src/libstrongswan/plugins/openssl/openssl_util.h b/src/libstrongswan/plugins/openssl/openssl_util.h index dbed0fab97..a9ffd0b196 100644 --- a/src/libstrongswan/plugins/openssl/openssl_util.h +++ b/src/libstrongswan/plugins/openssl/openssl_util.h @@ -59,7 +59,7 @@ bool openssl_fingerprint(EVP_PKEY *key, cred_encoding_type_t type, chunk_t *fp); /** * Concatenates two bignums into a chunk, thereby enforcing the length of - * a single BIGNUM, if necessary, by pre-pending it with zeros. + * a single BIGNUM, if necessary, by prepending it with zeros. * * Note: this function allocates memory for the chunk * diff --git a/src/libstrongswan/plugins/wolfssl/wolfssl_util.h b/src/libstrongswan/plugins/wolfssl/wolfssl_util.h index ea704bf0ef..becdf71058 100644 --- a/src/libstrongswan/plugins/wolfssl/wolfssl_util.h +++ b/src/libstrongswan/plugins/wolfssl/wolfssl_util.h @@ -65,7 +65,7 @@ bool wolfssl_mp_split(chunk_t chunk, mp_int *a, mp_int *b); /** * Concatenates two integers into a chunk, thereby enforcing the length of - * a single integer, if necessary, by pre-pending it with zeros. + * a single integer, if necessary, by prepending it with zeros. * * Note: this function allocates memory for the chunk * diff --git a/src/libstrongswan/plugins/x509/x509_ocsp_response.h b/src/libstrongswan/plugins/x509/x509_ocsp_response.h index f07c1cacc6..06e7af9358 100644 --- a/src/libstrongswan/plugins/x509/x509_ocsp_response.h +++ b/src/libstrongswan/plugins/x509/x509_ocsp_response.h @@ -43,7 +43,7 @@ struct x509_ocsp_response_t { * Generate a X.509 OCSP response. * * The resulting builder accepts: - * BUILD_OCSP_STATUS: status from OCSP respnder + * BUILD_OCSP_STATUS: status from OCSP responder * BUILD_OCSP_RESPONSES: enumerator over the list of OCSP single responses * BUILD_NONCE: nonce extracted from the OCSP request * BUILD_SIGNING_CERT: certificate to create OCSP response signature diff --git a/src/libstrongswan/utils/chunk.h b/src/libstrongswan/utils/chunk.h index b9fc56b1be..62f7155d28 100644 --- a/src/libstrongswan/utils/chunk.h +++ b/src/libstrongswan/utils/chunk.h @@ -133,7 +133,7 @@ chunk_t *chunk_map(char *path, bool wr); /** * munmap() a chunk previously mapped with chunk_map(). * - * When unmapping a writeable map, the return value should be checked to + * When unmapping a writable map, the return value should be checked to * ensure changes landed on disk. * * @param chunk pointer returned from chunk_map() @@ -146,7 +146,7 @@ bool chunk_unmap(chunk_t *chunk); * * @note Writable maps (i.e. created with wr = TRUE) are NOT cleared. * - * When unmapping a writeable map, the return value should be checked to + * When unmapping a writable map, the return value should be checked to * ensure changes landed on disk. * * @param chunk pointer returned from chunk_map() diff --git a/src/libstrongswan/utils/utils.h b/src/libstrongswan/utils/utils.h index a5a5faacb5..40fe76af8b 100644 --- a/src/libstrongswan/utils/utils.h +++ b/src/libstrongswan/utils/utils.h @@ -120,7 +120,7 @@ void utils_deinit(); #endif /** - * Address santizer support + * Address sanitizer support */ #if __has_feature(address_sanitizer) || \ (defined(__GNUC__) && defined(__SANITIZE_ADDRESS__)) diff --git a/src/pki/pki_cert.c b/src/pki/pki_cert.c index 80a18b81a1..1e88a9a0ed 100644 --- a/src/pki/pki_cert.c +++ b/src/pki/pki_cert.c @@ -339,7 +339,7 @@ bool pki_cert_extract_cacerts(chunk_t data, char *caout, char *raout, } certs->destroy(certs); - /* otherwise trust in root CA has to be established manuallly */ + /* otherwise trust in root CA has to be established manually */ if (!trusted) { creds->add_cert(creds, TRUE, cert->get_ref(cert));