From a66914508687b2771633e0e071cc9673ee353a61 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Tue, 10 Dec 2019 17:06:53 +0100 Subject: [PATCH] Fixed some typos, courtesy of codespell --- src/libstrongswan/plugins/ntru/ntru_ke.c | 2 +- src/libstrongswan/plugins/plugin_loader.c | 2 +- src/libstrongswan/tests/suites/test_ecdsa.c | 2 +- src/libstrongswan/tests/suites/test_rsa.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/libstrongswan/plugins/ntru/ntru_ke.c b/src/libstrongswan/plugins/ntru/ntru_ke.c index 60a2b5adb..3e6c3d083 100644 --- a/src/libstrongswan/plugins/ntru/ntru_ke.c +++ b/src/libstrongswan/plugins/ntru/ntru_ke.c @@ -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); diff --git a/src/libstrongswan/plugins/plugin_loader.c b/src/libstrongswan/plugins/plugin_loader.c index 121248bbe..b694e97cd 100644 --- a/src/libstrongswan/plugins/plugin_loader.c +++ b/src/libstrongswan/plugins/plugin_loader.c @@ -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) diff --git a/src/libstrongswan/tests/suites/test_ecdsa.c b/src/libstrongswan/tests/suites/test_ecdsa.c index f31cbcfb6..773e2d193 100644 --- a/src/libstrongswan/tests/suites/test_ecdsa.c +++ b/src/libstrongswan/tests/suites/test_ecdsa.c @@ -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) { diff --git a/src/libstrongswan/tests/suites/test_rsa.c b/src/libstrongswan/tests/suites/test_rsa.c index db6a09dda..0ab9dc5c9 100644 --- a/src/libstrongswan/tests/suites/test_rsa.c +++ b/src/libstrongswan/tests/suites/test_rsa.c @@ -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) {