Mailing List Archive

[PATCH] tests: Fix typo in comment
* tests/basic.c: Fix typo in comment.
--

Signed-off-by: Tianjia Zhang <tianjia.zhang@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


_______________________________________________
Gcrypt-devel mailing list
Gcrypt-devel@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gcrypt-devel
Re: [PATCH] tests: Fix typo in comment [ In reply to ]
Hello,

On 21.9.2020 16.01, Tianjia Zhang via Gcrypt-devel wrote:
> * tests/basic.c: Fix typo in comment.
> --
>
> Signed-off-by: Tianjia Zhang <tianjia.zhang@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)
>

Patch applied. Thanks.

-Jussi

_______________________________________________
Gcrypt-devel mailing list
Gcrypt-devel@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gcrypt-devel