summaryrefslogtreecommitdiffstats
path: root/sm/fingerprint.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2001-12-06 00:48:01 +0100
committerWerner Koch <wk@gnupg.org>2001-12-06 00:48:01 +0100
commite8676a0871990934ef2e14e527e7ff3d2edae169 (patch)
tree89111ca49210ac09036afb966687db07f2be10f6 /sm/fingerprint.c
parentNew error codes and another mapping fnc. (diff)
downloadgnupg2-e8676a0871990934ef2e14e527e7ff3d2edae169.tar.xz
gnupg2-e8676a0871990934ef2e14e527e7ff3d2edae169.zip
Started with decryption stuff
Diffstat (limited to 'sm/fingerprint.c')
-rw-r--r--sm/fingerprint.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sm/fingerprint.c b/sm/fingerprint.c
index 29023c2ce..ead5cec50 100644
--- a/sm/fingerprint.c
+++ b/sm/fingerprint.c
@@ -141,7 +141,7 @@ gpgsm_get_keygrip (KsbaCert cert, char *array)
return NULL; /* oops */
if (DBG_X509)
- log_debug ("get_keygrip, public key: %s\n", p);
+ log_debug ("get_keygrip for public key: %s\n", p);
rc = gcry_sexp_sscan ( &s_pkey, NULL, p, strlen(p));
if (rc)
{
@@ -161,6 +161,8 @@ gpgsm_get_keygrip (KsbaCert cert, char *array)
gcry_md_hash_buffer (GCRY_MD_SHA1, array, buf, len);
xfree (buf);
+ if (DBG_X509)
+ log_printhex ("keygrip=", array, 20);
return array;
}