[gnome-keyring] Typos in messages (copy&paste from signing)



commit 382c7cf2d6c20f2189874c94ff38983e3e8a2ec2
Author: Jakub Jelen <jjelen redhat com>
Date:   Tue Aug 15 14:23:34 2017 +0200

    Typos in messages (copy&paste from signing)

 pkcs11/gkm/gkm-dsa-mechanism.c |    2 +-
 pkcs11/gkm/gkm-rsa-mechanism.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pkcs11/gkm/gkm-dsa-mechanism.c b/pkcs11/gkm/gkm-dsa-mechanism.c
index 8345dc3..f7a4f9e 100644
--- a/pkcs11/gkm/gkm-dsa-mechanism.c
+++ b/pkcs11/gkm/gkm-dsa-mechanism.c
@@ -135,7 +135,7 @@ gkm_dsa_mechanism_verify (gcry_sexp_t sexp, CK_BYTE_PTR data, CK_ULONG n_data,
        if (gcry_err_code (gcry) == GPG_ERR_BAD_SIGNATURE) {
                return CKR_SIGNATURE_INVALID;
        } else if (gcry) {
-               g_message ("signing of the data failed: %s", gcry_strerror (gcry));
+               g_message ("verifying of the data failed: %s", gcry_strerror (gcry));
                return CKR_FUNCTION_FAILED;
        }
 
diff --git a/pkcs11/gkm/gkm-rsa-mechanism.c b/pkcs11/gkm/gkm-rsa-mechanism.c
index 3f77a27..75ecebe 100644
--- a/pkcs11/gkm/gkm-rsa-mechanism.c
+++ b/pkcs11/gkm/gkm-rsa-mechanism.c
@@ -211,7 +211,7 @@ gkm_rsa_mechanism_verify (gcry_sexp_t sexp, EggPadding padding, CK_BYTE_PTR data
        if (gcry_err_code (gcry) == GPG_ERR_BAD_SIGNATURE) {
                return CKR_SIGNATURE_INVALID;
        } else if (gcry) {
-               g_message ("signing of the data failed: %s", gcry_strerror (gcry));
+               g_message ("verifying of the data failed: %s", gcry_strerror (gcry));
                return CKR_FUNCTION_FAILED;
        }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]