Fixed some typos, courtesy of codespell
authorTobias Brunner <tobias@strongswan.org>
Tue, 10 Dec 2019 16:06:53 +0000 (17:06 +0100)
committerTobias Brunner <tobias@strongswan.org>
Thu, 12 Dec 2019 10:09:06 +0000 (11:09 +0100)
src/libstrongswan/plugins/ntru/ntru_ke.c
src/libstrongswan/plugins/plugin_loader.c
src/libstrongswan/tests/suites/test_ecdsa.c
src/libstrongswan/tests/suites/test_rsa.c

index 60a2b5a..3e6c3d0 100644 (file)
@@ -129,7 +129,7 @@ METHOD(diffie_hellman_t, get_my_public_value, bool,
                        this->privkey = ntru_private_key_create(this->drbg, this->param_set);
                        if (!this->privkey)
                        {
-                               DBG1(DBG_LIB, "NTRU keypair generation failed");
+                               DBG1(DBG_LIB, "NTRU key pair generation failed");
                                return FALSE;
                        }
                        this->pubkey = this->privkey->get_public_key(this->privkey);
index 121248b..b694e97 100644 (file)
@@ -658,7 +658,7 @@ static bool loadable_feature_matches(registered_feature_t *a,
 }
 
 /**
- * Returns a compatible plugin feature for the given depencency
+ * Returns a compatible plugin feature for the given dependency
  */
 static bool find_compatible_feature(private_plugin_loader_t *this,
                                                                        plugin_feature_t *dependency)
index f31cbcf..773e2d1 100644 (file)
@@ -36,7 +36,7 @@ static struct {
 };
 
 /**
- * Perform a signature verification "good" test having a keypair
+ * Perform a signature verification "good" test having a key pair
  */
 static void test_good_sig(private_key_t *privkey, public_key_t *pubkey)
 {
index db6a09d..0ab9dc5 100644 (file)
@@ -44,7 +44,7 @@ static rsa_pss_params_t default_pss_params = {
 };
 
 /**
- * Perform a signature verification "good" test having a keypair
+ * Perform a signature verification "good" test having a key pair
  */
 static void test_good_sig(private_key_t *privkey, public_key_t *pubkey)
 {