summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJustus Winter <justus@g10code.com>2015-11-16 12:18:47 +0100
committerJustus Winter <justus@g10code.com>2015-11-17 11:17:52 +0100
commit0e395944b70c7a92a6437f6bcc14f287c19ce9de (patch)
treefb78af690002b53f017cf1ea122e9f096e828f54 /tests
parent89fa74d6b3e58cd4fcd6e0939a35e46cbaca2ea0 (diff)
downloadlibgcrypt-0e395944b70c7a92a6437f6bcc14f287c19ce9de.tar.gz
Fix typos found using codespell
* cipher/cipher-ocb.c: Fix typos. * cipher/des.c: Likewise. * cipher/dsa-common.c: Likewise. * cipher/ecc.c: Likewise. * cipher/pubkey.c: Likewise. * cipher/rsa-common.c: Likewise. * cipher/scrypt.c: Likewise. * random/random-csprng.c: Likewise. * random/random-fips.c: Likewise. * random/rndw32.c: Likewise. * src/cipher-proto.h: Likewise. * src/context.c: Likewise. * src/fips.c: Likewise. * src/gcrypt.h.in: Likewise. * src/global.c: Likewise. * src/sexp.c: Likewise. * tests/mpitests.c: Likewise. * tests/t-lock.c: Likewise. Signed-off-by: Justus Winter <justus@g10code.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/mpitests.c2
-rw-r--r--tests/t-lock.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/mpitests.c b/tests/mpitests.c
index d75aca90..e6f8525c 100644
--- a/tests/mpitests.c
+++ b/tests/mpitests.c
@@ -426,7 +426,7 @@ test_mul (void)
/* What we test here is that we don't overwrite our args and that
- using thne same mpi for several args works. */
+ using the same mpi for several args works. */
static int
test_powm (void)
{
diff --git a/tests/t-lock.c b/tests/t-lock.c
index 22b67ef5..815f63b9 100644
--- a/tests/t-lock.c
+++ b/tests/t-lock.c
@@ -229,7 +229,7 @@ init_accounts (void)
}
-/* Check that the sum of all accounts matches the intial sum. */
+/* Check that the sum of all accounts matches the initial sum. */
static void
check_accounts (void)
{
@@ -261,7 +261,7 @@ get_rand (int high)
}
-/* Pick a random account. Note that this fucntion is not
+/* Pick a random account. Note that this function is not
thread-safe. */
static int
pick_account (void)