]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
Fixed some typos, courtesy of codespell
authorTobias Brunner <tobias@strongswan.org>
Fri, 2 Jun 2023 08:19:32 +0000 (10:19 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 2 Jun 2023 08:36:47 +0000 (10:36 +0200)
src/libcharon/plugins/kernel_pfkey/kernel_pfkey_ipsec.c
src/libcharon/sa/task_manager.h
src/libipsec/ipsec_sa_mgr.c
src/libstrongswan/plugins/openssl/openssl_pkcs7.c
src/libstrongswan/plugins/pkcs7/pkcs7_signed_data.c

index aa4b0f16292e5265d95534c7331d3c8e41211b99..9bb67cfce910f60a725dcfeb718ac7beea36f6fd 100644 (file)
@@ -1979,7 +1979,7 @@ METHOD(kernel_ipsec_t, update_sa, status_t,
        }
 #ifndef SADB_X_EXT_NEW_ADDRESS_SRC
        /* we can't update the SA if any of the ip addresses have changed.
-        * that's because we can't use SADB_UPDATE and by deleting and readding the
+        * that's because we can't use SADB_UPDATE and by deleting and re-adding the
         * SA the sequence numbers would get lost */
        if (!id->src->ip_equals(id->src, data->new_src) ||
                !id->dst->ip_equals(id->dst, data->new_dst))
index 365e6e6bd4c59702b534c70259e6358004302127..69e5a812e750fc327c62df15d646dd2709772b3e 100644 (file)
@@ -89,7 +89,7 @@ struct retransmission_t {
 
        /**
         * Maximum jitter to apply to calculated timeout (in percent). A random
-        * amount of value this will be subtracted from the calculated timeout.
+        * amount of that value will be subtracted from the calculated timeout.
         */
        u_int jitter;
 
index 56698f3f0801d2464d993f8dfaa5ef9456b8406e..fa8a17334ddb1712c8c9f9d2c4100d7e0c0fd6db 100644 (file)
@@ -28,7 +28,7 @@
 #include <collections/linked_list.h>
 
 /**
- * Timeout in seconds for acquries for the same reqid (i.e. the interval used
+ * Timeout in seconds for acquires for the same reqid (i.e. the interval used
  * to trigger acquires while no SA is established).
  */
 #define ACQUIRE_TIMEOUT 10
index 3adb02dea8cc83aa136004f920b55e1451fb0bbe..d9abcf8c0fe4cf618b08cd3ff0b5d6de955e8b3b 100644 (file)
@@ -357,7 +357,7 @@ METHOD(enumerator_t, signature_enumerate, bool,
                if (openssl_asn1_known_oid(sig->algorithm) == OID_RSA_ENCRYPTION)
                {
                        /* derive the signature scheme from the digest algorithm
-                        * for the classic PKCS#7 RSA mechansim */
+                        * for the classic PKCS#7 RSA mechanism */
                        sig_alg.scheme = signature_scheme_from_oid(hash_oid);
                }
                else
index 7210b728d746d923f26c373d4827b025d3e4fe04..995157e412978ef492267e03d17f065f49d1cde9 100644 (file)
@@ -475,7 +475,7 @@ static bool parse(private_pkcs7_signed_data_t *this, chunk_t content)
                                                info->digest_alg != OID_UNKNOWN)
                                        {
                                                /* derive the signature scheme from the digest algorithm
-                                                * for the classic PKCS#7 RSA mechansim */
+                                                * for the classic PKCS#7 RSA mechanism */
                                                info->sig_alg.scheme = signature_scheme_from_oid(
                                                                                                                        info->digest_alg);
                                        }