[PATCH] tests: Fix typo in comment
Tianjia Zhang
tianjia.zhang at linux.alibaba.com
Mon Sep 21 15:01:49 CEST 2020
* tests/basic.c: Fix typo in comment.
--
Signed-off-by: Tianjia Zhang <tianjia.zhang at linux.alibaba.com>
---
tests/basic.c | 4 ++--
1 file 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)
--
2.19.1.3.ge56e4f7
More information about the Gcrypt-devel
mailing list