From: Tobias Brunner Date: Thu, 20 Jan 2022 09:44:42 +0000 (+0100) Subject: Fixed some typos, courtesy of codespell X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=627eaa22ffac4e8099b82d3ce95a91d4baf06c4b;p=people%2Fms%2Fstrongswan.git Fixed some typos, courtesy of codespell --- diff --git a/src/charon-tkm/Makefile.am b/src/charon-tkm/Makefile.am index 03694e3f7..95e874591 100644 --- a/src/charon-tkm/Makefile.am +++ b/src/charon-tkm/Makefile.am @@ -42,7 +42,7 @@ build_tests: build_tests.gpr check: build_tests if test -z "${TESTS_TKM}"; then \ echo -e >&2 \ - "\nSome TKM tests are not enabled, by deafult, because they have" \ + "\nSome TKM tests are not enabled, by default, because they have" \ "\nto be run as root and require a running TKM daemon. They may" \ "\nbe enabled by defining the TESTS_TKM environment variable.\n"; \ fi diff --git a/src/libcharon/network/socket.h b/src/libcharon/network/socket.h index e8ee5e347..d0b10faf8 100644 --- a/src/libcharon/network/socket.h +++ b/src/libcharon/network/socket.h @@ -73,7 +73,7 @@ struct socket_t { * Reads a packet from the socket and sets source/dest * appropriately. * - * @param packet pinter gets address from allocated packet_t + * @param packet received packet * @return * - SUCCESS when packet successfully received * - FAILED when unable to receive @@ -86,7 +86,7 @@ struct socket_t { * Sends a packet to the net using source and destination addresses of * the packet. * - * @param packet packet_t to send + * @param packet packet to send * @return * - SUCCESS when packet successfully sent * - FAILED when unable to send diff --git a/src/libfast/fast_request.h b/src/libfast/fast_request.h index 5d9b8723f..8e01343fa 100644 --- a/src/libfast/fast_request.h +++ b/src/libfast/fast_request.h @@ -209,7 +209,7 @@ struct fast_request_t { /** * Create a request from the fastcgi struct. * - * @param fd file descripter opened with FCGX_OpenSocket + * @param fd file descriptor opened with FCGX_OpenSocket * @param debug no stripping, no compression, timing information */ fast_request_t *fast_request_create(int fd, bool debug); diff --git a/src/libstrongswan/plugins/openssl/openssl_hmac.c b/src/libstrongswan/plugins/openssl/openssl_hmac.c index f1a81919c..d186134e2 100644 --- a/src/libstrongswan/plugins/openssl/openssl_hmac.c +++ b/src/libstrongswan/plugins/openssl/openssl_hmac.c @@ -101,7 +101,7 @@ METHOD(mac_t, set_key, bool, { if (!key.ptr) { /* HMAC_Init_ex() won't reset the key if a NULL pointer is passed, - * use a lenghty string in case there is a limit in FIPS-mode */ + * use a lengthy string in case there is a limit in FIPS-mode */ key = chunk_from_str("00000000000000000000000000000000"); } return reset(this, key);