summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTianjia Zhang <tianjia.zhang@linux.alibaba.com>2020-09-21 21:01:49 +0800
committerJussi Kivilinna <jussi.kivilinna@iki.fi>2020-10-01 08:03:25 +0300
commit4a50c6b88d6d8d843e50add851a8a5e691349097 (patch)
tree71962005ecb721807589cbb7d9c0b8934dbec55e
parent2051d5bd6f732a36e5a536cba734531a9e2e915f (diff)
downloadlibgcrypt-4a50c6b88d6d8d843e50add851a8a5e691349097.tar.gz
tests: Fix typo in comment
* tests/basic.c: Fix typo in comment. -- Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com>
-rw-r--r--tests/basic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/basic.c b/tests/basic.c
index fdc5df4b..1d12c4a2 100644
--- a/tests/basic.c
+++ b/tests/basic.c
@@ -13036,7 +13036,7 @@ verify_one_signature (gcry_sexp_t pkey, gcry_sexp_t hash,
}
-/* Test the public key sign function using the private ket SKEY. PKEY
+/* Test the public key sign function using the private key SKEY. PKEY
is used for verification. */
static void
check_pubkey_sign (int n, gcry_sexp_t skey, gcry_sexp_t pkey, int algo)
@@ -13149,7 +13149,7 @@ check_pubkey_sign (int n, gcry_sexp_t skey, gcry_sexp_t pkey, int algo)
}
-/* Test the public key sign function using the private ket SKEY. PKEY
+/* Test the public key sign function using the private key SKEY. PKEY
is used for verification. This variant is only used for ECDSA. */
static void
check_pubkey_sign_ecdsa (int n, gcry_sexp_t skey, gcry_sexp_t pkey)