]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
Fixed some typos, courtesy of codespell
authorTobias Brunner <tobias@strongswan.org>
Wed, 23 May 2018 14:06:45 +0000 (16:06 +0200)
committerTobias Brunner <tobias@strongswan.org>
Wed, 23 May 2018 14:33:02 +0000 (16:33 +0200)
34 files changed:
NEWS
conf/strongswan.conf.5.tail.in
src/charon/charon.c
src/libcharon/plugins/eap_radius/eap_radius_forward.h
src/libcharon/plugins/eap_radius/eap_radius_plugin.h
src/libcharon/plugins/ha/ha_message.c
src/libcharon/plugins/kernel_netlink/kernel_netlink_shared.h
src/libcharon/plugins/vici/vici_attribute.c
src/libcharon/plugins/vici/vici_config.c
src/libcharon/sa/ikev2/tasks/ike_mobike.h
src/libfast/fast_dispatcher.h
src/libfast/fast_request.c
src/libimcv/imv/imv_policy_manager.c
src/libimcv/ita/ita_attr_settings.c
src/libstrongswan/asn1/asn1.h
src/libstrongswan/collections/enumerator.c
src/libstrongswan/networking/streams/stream_service_unix.c
src/libstrongswan/plugins/blowfish/COPYRIGHT
src/libstrongswan/plugins/blowfish/bf_enc.c
src/libstrongswan/plugins/blowfish/bf_locl.h
src/libstrongswan/plugins/blowfish/bf_pi.h
src/libstrongswan/plugins/blowfish/bf_skey.c
src/libstrongswan/plugins/blowfish/blowfish.h
src/libstrongswan/plugins/blowfish/blowfish_crypter.c
src/libstrongswan/plugins/des/des_crypter.c
src/libstrongswan/plugins/ntru/ntru_private_key.c
src/libstrongswan/plugins/pkcs12/pkcs12_plugin.h
src/libstrongswan/plugins/pkcs7/pkcs7_plugin.h
src/libstrongswan/plugins/pkcs8/pkcs8_plugin.h
src/libstrongswan/plugins/sqlite/sqlite_plugin.c
src/libstrongswan/utils/enum.h
src/libstrongswan/utils/utils.h
src/libstrongswan/utils/utils/memory.c
testing/tests/ipv6/rw-psk-ikev2/description.txt

diff --git a/NEWS b/NEWS
index 6a0ae7c4af89aead8f4c66bed621e7d715c15930..743c3b55667ebea13b69a476cc418f88af108c9b 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -2089,7 +2089,7 @@ strongswan-4.2.0
   refactored to support modular credential providers, proper
   CERTREQ/CERT payload exchanges and extensible authorization rules.
 
-- The framework of strongSwan Manager has envolved to the web application
+- The framework of strongSwan Manager has evolved to the web application
   framework libfast (FastCGI Application Server w/ Templates) and is usable
   by other applications.
 
index f428fc323a5f85ae5c1fce544bdb800c05801367..a93fe020a651277f56e4f503716615412ec940e8 100644 (file)
@@ -93,7 +93,7 @@ Absolutely silent
 Very basic auditing logs, (e.g. SA up/SA down)
 .TP
 .B 1
-Generic control flow with errors, a good default to see whats going on
+Generic control flow with errors, a good default to see what's going on
 .TP
 .B 2
 More detailed debugging control flow
index 30f6ce2f6ecf1d5d29f946a495b5746305b8692e..180486746c26ec2b4f2f6c521497c2adfa55f621 100644 (file)
@@ -233,7 +233,7 @@ static bool check_pidfile()
                }
                /* Only fchown() the pidfile if we have CAP_CHOWN. Otherwise,
                 * directory permissions should allow pidfile to be accessed
-                * by the UID/GID under which the charon deamon will run. */
+                * by the UID/GID under which the charon daemon will run. */
                if (lib->caps->check(lib->caps, CAP_CHOWN))
                {
                        ignore_result(fchown(fd,
index 2c1dbf7a8ee791a88d4bf2909c211aa1b5eed9df..fc50d0d1a363a3075f14cc193df1ca64db314c79 100644 (file)
@@ -58,7 +58,7 @@ void eap_radius_forward_from_ike(radius_message_t *request);
 /**
  * Forward RADIUS attributes from a RADIUS response to IKE notifies.
  *
- * @param response             RADIUS respose to read notifies from
+ * @param response             RADIUS response to read notifies from
  */
 void eap_radius_forward_to_ike(radius_message_t *response);
 
index 5664efca701b8e6426d23d095b8ee321dd4f281e..86c23992f8de930db741067f48d85d7a5886cc4b 100644 (file)
@@ -34,7 +34,7 @@ typedef struct eap_radius_plugin_t eap_radius_plugin_t;
 /**
  * EAP RADIUS proxy plugin.
  *
- * This plugin provides not a single EAP method, but a proxy to forwared
+ * This plugin provides not a single EAP method, but a proxy to forward
  * EAP packets to a RADIUS server. It only provides server implementations.
  */
 struct eap_radius_plugin_t {
index efa2ee44caa59c6c8d8c345222a54b332226dac3..7891b165428e9bde2e3ad823c5546e13e48fe2d7 100644 (file)
@@ -320,7 +320,7 @@ METHOD(ha_message_t, add_attribute, void,
  * Attribute enumerator implementation
  */
 typedef struct {
-       /** implementes enumerator_t */
+       /** implements enumerator_t */
        enumerator_t public;
        /** position in message */
        chunk_t buf;
index 058fc44c108d98d7ee7adffad489b16310ca3b20..7056e6ccc78f7e829cf0ebf62596dc717452131c 100644 (file)
@@ -32,7 +32,7 @@
 /**
  * General purpose netlink buffer.
  *
- * Some platforms require an enforced aligment to four bytes (e.g. ARM).
+ * Some platforms require an enforced alignment to four bytes (e.g. ARM).
  */
 typedef union {
        struct nlmsghdr hdr;
index ab765fa14d220befda08f27be3abe96d7539c647..4d174253d87cb2e31faef1f3f0a0044838808bd1 100644 (file)
@@ -249,7 +249,7 @@ static bool have_vips_from_pool(mem_pool_t *pool, linked_list_t *vips)
        {
                end = chunk_clone(start);
 
-               /* mem_pool is currenty limited to 2^31 addresses, so 32-bit
+               /* mem_pool is currently limited to 2^31 addresses, so 32-bit
                 * calculations should be sufficient. */
                size = untoh32(start.ptr + start.len - sizeof(size));
                htoun32(end.ptr + end.len - sizeof(size), size + pool->get_size(pool));
index c851615506b6cd397ef887c0cc5f693c5e33f84f..f4e9e33eef867d5419084a4459ae6de90cdaedb3 100644 (file)
@@ -112,7 +112,7 @@ struct private_vici_config_t {
        rwlock_t *lock;
 
        /**
-        * Condvar used to snyc running actions
+        * Condvar used to sync running actions
         */
        rwlock_condvar_t *condvar;
 
index 14e271f17da92482802e3151e244f3117ed0deca..288b8717875f4c62f249e1618a731316c45411a5 100644 (file)
@@ -63,7 +63,7 @@ struct ike_mobike_t {
        void (*dpd)(ike_mobike_t *this);
 
        /**
-        * Transmision hook, called by task manager.
+        * Transmission hook, called by task manager.
         *
         * The task manager calls this hook whenever it transmits a packet. It
         * allows the mobike task to send the packet on multiple paths to do path
index 7af7e0dd435f61aeec64da32a80803a090d48b43..ffa49d9db856f5c00486c9ef563e0a7ae6a7ba26 100644 (file)
@@ -24,7 +24,7 @@
  *
  * The application has a global context and a session context. The global
  * context is accessed from all sessions simultaneously and therefore
- * needs to be threadsave. Often a database wrapper is the global context.
+ * needs to be threadsafe. Often a database wrapper is the global context.
  * The session context is instantiated per session. Sessions are managed
  * automatically through session cookies. The session context is kept alive
  * until the session times out. It must implement the context_t interface and
index 0bdd16ad8708b7428947e81d2f6dc883db463864..0543215cbd8714a153894ec9f64b7644e626c4f0 100644 (file)
@@ -75,7 +75,7 @@ struct private_fast_request_t {
 };
 
 /**
- * ClearSilver cgiwrap is not threadsave, so we use a private
+ * ClearSilver cgiwrap is not threadsafe, so we use a private
  * context for each thread.
  */
 static thread_value_t *thread_this;
index 1988873e9ac04a5f42e613585dc8f12ec802abb1..a0e8595ed7870cef9877dc6da3f0fa6275808674 100644 (file)
@@ -113,7 +113,7 @@ static bool iterate_enforcements(database_t *db, int device_id, int session_id,
                        if (latest_success)
                        {
                                /*skipping enforcement */
-                               printf("skipping enforcment %d\n", id);
+                               printf("skipping enforcement %d\n", id);
                                continue;
                        }
 
index b0907789edbf514e432cb179fe8d755934dba0a8..8c364d26c45d2aa7637d2ebf6051027402ebe8bc 100644 (file)
@@ -29,7 +29,7 @@ typedef struct private_ita_attr_settings_t private_ita_attr_settings_t;
 typedef struct entry_t entry_t;
 
 /**
- * Contains a settins name/value pair
+ * Contains a settings name/value pair
  */
 struct entry_t {
        char *name;
index 3c7389e5cbc90af399cb349c9889f846094b9f90..767dfaeee8fccd79c5590c23d8e409677c188485 100644 (file)
@@ -100,7 +100,7 @@ extern const chunk_t ASN1_INTEGER_2;
 chunk_t asn1_algorithmIdentifier(int oid);
 
 /**
- * Build an algorithmIdentifier from a known OID and the given prameters.
+ * Build an algorithmIdentifier from a known OID and the given parameters.
  *
  * @param oid          known OID index
  * @param params       parameters to encode in the algorithmIdentifier (adopted)
index 52c9e1cd5a050b929c61bbfe99186f2ebaf112cb..21aa9f66b7165b1225c21d70dc1d11b22a2cffd1 100644 (file)
@@ -291,7 +291,7 @@ typedef struct {
        char *string;
        /** current position */
        char *pos;
-       /** separater chars */
+       /** separator chars */
        const char *sep;
        /** trim chars */
        const char *trim;
index 92640fc9130f3f8f943f849f97e86208a57afb1d..a9b71d6fd1f29669bea7487300d5275dcd79e6fe 100644 (file)
@@ -41,7 +41,7 @@ stream_service_t *stream_service_create_unix(char *uri, int backlog)
        {       /* required to chown(2) service socket */
                DBG1(DBG_NET, "cannot change ownership of socket '%s' without "
                         "CAP_CHOWN capability. socket directory should be accessible to "
-                        "UID/GID under which the deamon will run", uri);
+                        "UID/GID under which the daemon will run", uri);
        }
        fd = socket(AF_UNIX, SOCK_STREAM, 0);
        if (fd == -1)
index aea956a21c82599e9acdb1d80e2f7568b25fe45c..af1ead4b7c4b04b84d7892f71d2f22c07887af54 100644 (file)
@@ -35,7 +35,7 @@ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 SUCH DAMAGE.
 
-The license and distribution terms for any publically available version or
+The license and distribution terms for any publicly available version or
 derivative of this code cannot be changed.  i.e. this code cannot simply be
 copied and put under another distribution license
 [including the GNU Public License.]
index f9591c1a452b04c14727b762cdc19532d343c0fe..7c32e3fbb1acfeb1a765998e69a8dff4de609126 100644 (file)
@@ -50,7 +50,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- * The licence and distribution terms for any publically available version or
+ * The licence and distribution terms for any publicly available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
  * [including the GNU Public Licence.]
index e5f49280ba0f682b53b286099faa3392d54926ea..ad8deed80fa0c1825c08dec932217c9664bf0775 100644 (file)
@@ -50,7 +50,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- * The licence and distribution terms for any publically available version or
+ * The licence and distribution terms for any publicly available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
  * [including the GNU Public Licence.]
index 86c2ef366a57bc9434107499f76c6eef812a59de..650783192825ae281b077e123aaa7e70d6e587d8 100644 (file)
@@ -50,7 +50,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- * The licence and distribution terms for any publically available version or
+ * The licence and distribution terms for any publicly available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
  * [including the GNU Public Licence.]
index 52a05189017ebdd1447c78045191d9c4588a2fd5..f44b723838d1e7ffc14161f9d96c907833c843fa 100644 (file)
@@ -50,7 +50,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- * The licence and distribution terms for any publically available version or
+ * The licence and distribution terms for any publicly available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
  * [including the GNU Public Licence.]
index 3c8f77a0fb404f9b9de3b89d5f6c67479a059db8..771afcf151d8bc2a5759ad30012a31fd1a9dd773 100644 (file)
@@ -50,7 +50,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- * The licence and distribution terms for any publically available version or
+ * The licence and distribution terms for any publicly available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
  * [including the GNU Public Licence.]
index 6d8d1d709f742b040cf96bee690ac791c19aa1f6..6ef60c883abddf53e8018f293c75e6161fdd7421 100644 (file)
@@ -49,7 +49,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- * The licence and distribution terms for any publically available version or
+ * The licence and distribution terms for any publicly available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
  * [including the GNU Public Licence.]
index 2ce9aa47901378bbf9ce9627b829539b9136b814..159c3872a623b11956c620a93a60982a8b8d0e5e 100644 (file)
@@ -52,7 +52,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- * The licence and distribution terms for any publically available version or
+ * The licence and distribution terms for any publicly available version or
  * derivative of this code cannot be changed.  i.e. this code cannot simply be
  * copied and put under another distribution licence
  * [including the GNU Public Licence.]
index 844c8baf32294b4d0d898423c14862349097c5dd..642a35ca55f5231c43fb1108cb9eac5b5dcccd5f 100644 (file)
@@ -276,7 +276,7 @@ METHOD(ntru_private_key_t, decrypt, bool,
        }
        if (!msg_rep_good)
        {
-               DBG1(DBG_LIB, "decryption failed due to unsufficient minimum weight");
+               DBG1(DBG_LIB, "decryption failed due to insufficient minimum weight");
                success = FALSE;
        }
 
index c781687c3680f7852f94dfd15686bbc23883e152..c05c261eb4b435baa7dd753ddfa31b2d08ce779a 100644 (file)
@@ -9,7 +9,7 @@
  *
  * This program is distributed in the hope that it will be useful, but
  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
- * or FITNESS FOR A PARTICULAR PURPSE.  See the GNU General Public License
+ * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  * for more details.
  */
 
index 3d582c7c682591990e2c43da5527125a716d67f5..57c8cf0c14a6d831449412264ac7efe47f52059e 100644 (file)
@@ -9,7 +9,7 @@
  *
  * This program is distributed in the hope that it will be useful, but
  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
- * or FITNESS FOR A PARTICULAR PURPSE.  See the GNU General Public License
+ * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  * for more details.
  */
 
index ab0ad09bf8fd62e84de32144c285eda6aef4cf79..6ada49209fcd48d589c158afd344a4ca8584d95d 100644 (file)
@@ -9,7 +9,7 @@
  *
  * This program is distributed in the hope that it will be useful, but
  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
- * or FITNESS FOR A PARTICULAR PURPSE.  See the GNU General Public License
+ * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  * for more details.
  */
 
index dac990d81df4b45846f8bfa953b763ba52c8c45b..56fe3001c0bfcde54937cabc00d9b32522afd90c 100644 (file)
@@ -61,7 +61,7 @@ METHOD(plugin_t, destroy, void,
 plugin_t *sqlite_plugin_create()
 {
        private_sqlite_plugin_t *this;
-       int threadsave = 0;
+       int threadsafe = 0;
 
        INIT(this,
                .public = {
@@ -74,10 +74,10 @@ plugin_t *sqlite_plugin_create()
        );
 
 #if SQLITE_VERSION_NUMBER >= 3005000
-       threadsave = sqlite3_threadsafe();
+       threadsafe = sqlite3_threadsafe();
 #endif
        DBG2(DBG_LIB, "using SQLite %s, thread safety %d",
-                sqlite3_libversion(), threadsave);
+                sqlite3_libversion(), threadsafe);
 
        return &this->public.plugin;
 }
index c668b6b2b119dea421a03493643c9a9e5fc254df..4312cb9a1d5f1fd9717db7ecb973fb470dfa2983 100644 (file)
@@ -53,7 +53,7 @@ typedef struct enum_name_t enum_name_t;
  * The ENUM and the ENUM_END define a enum_name_t pointer with the name supplied
  * in "name".
  *
- * Resolving of enum names is done using a printf hook. A printf fromat
+ * Resolving of enum names is done using a printf hook. A printf format
  * character %N is replaced by the enum string. Printf needs two arguments to
  * resolve a %N, the enum_name_t* (the defined name in ENUM_BEGIN) followed
  * by the numerical enum value.
index ec994bfc5b20b2a1826f0e437497d195f3a91fcf..ea08b68c29c8f7f2b411e3b4e2ad656af6a2068f 100644 (file)
@@ -206,7 +206,7 @@ void utils_deinit();
  * Block and wait for a set of signals
  *
  * We don't replicate the functionality of siginfo_t.  If info is not NULL
- * -1 is returend and errno is set to EINVAL.
+ * -1 is returned and errno is set to EINVAL.
  *
  * @param set          set of signals to wait for
  * @param info         must be NULL
index f9322449be93c4e3cf671b95baa7ceb2f4b30d47..82c30d88e2ac28aecd5970a764e53b92267d5705 100644 (file)
@@ -29,7 +29,7 @@ void memxor(uint8_t dst[], const uint8_t src[], size_t n)
        {
                dst[i] ^= src[i];
        }
-       /* try to use words if src shares an aligment with dst */
+       /* try to use words if src shares an alignment with dst */
        switch (((uintptr_t)&src[i] % sizeof(long)))
        {
                case 0:
index 0bd1474a0a5cb94f7b3998c26f32e4ea5c6ffaed..fd7369d8f6f0acdb8893bec249d5b9503d61f0d8 100644 (file)
@@ -1,4 +1,4 @@
-TThe roadwarriors <b>carol</b> and <b>dave</b> set up an IPv6 tunnel connection each
+The roadwarriors <b>carol</b> and <b>dave</b> set up an IPv6 tunnel connection each
 to gateway <b>moon</b>. The authentication is based on distinct <b>pre-shared keys</b>
 and IPv6 addresses. Upon the successful establishment of the IPsec tunnels,
 automatically inserted ip6tables-based firewall rules let pass the tunneled traffic.