[PATCH] tests: Fix typo in comment

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] tests: Fix typo in comment

GnuPG - Libgcrypt - Dev mailing list
* tests/basic.c: Fix typo in comment.
--

Signed-off-by: Tianjia Zhang <[hidden email]>
---
 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
[hidden email]
http://lists.gnupg.org/mailman/listinfo/gcrypt-devel
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] tests: Fix typo in comment

Jussi Kivilinna-2
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 <[hidden email]>
> ---
>  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
[hidden email]
http://lists.gnupg.org/mailman/listinfo/gcrypt-devel