Commit 382c7cf2 authored by Jakub Jelen's avatar Jakub Jelen Committed by Daiki Ueno

Typos in messages (copy&paste from signing)

parent ad1d71aa
......@@ -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;
}
......
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment