]> git.ipfire.org Git - people/ms/strongswan.git/commitdiff
Fixed some typos, courtesy of codespell
authorTobias Brunner <tobias@strongswan.org>
Thu, 20 Jan 2022 09:44:42 +0000 (10:44 +0100)
committerTobias Brunner <tobias@strongswan.org>
Thu, 20 Jan 2022 09:44:42 +0000 (10:44 +0100)
src/charon-tkm/Makefile.am
src/libcharon/network/socket.h
src/libfast/fast_request.h
src/libstrongswan/plugins/openssl/openssl_hmac.c

index 03694e3f78baa49719c0ae4bc1c66a78844327eb..95e8745910ecf25f8dd1838c48eeace0d5ba046f 100644 (file)
@@ -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
index e8ee5e34719760bbe49e3bdc7d16c95ce7b0a299..d0b10faf8ce52d3cf084e6e1f40395043c0f2ad5 100644 (file)
@@ -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
index 5d9b8723f0fa7b7f459356c83097fe7d461249d0..8e01343fad03f041cf55e5718c32f2db08302617 100644 (file)
@@ -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);
index f1a81919cef7c1af29ff58bf6d0e2915845712d8..d186134e20ac0cdfc284de79e35e4847e6cf22b3 100644 (file)
@@ -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);