summaryrefslogtreecommitdiffstats
path: root/sm/certdump.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2001-11-20 19:28:53 +0100
committerWerner Koch <wk@gnupg.org>2001-11-20 19:28:53 +0100
commitaa4f78a45aa436a2d451d2155bac214ce9c1ac61 (patch)
treebf34e0984c2b42039756248a558ca315b640c18d /sm/certdump.c
parent * assuan.h: Prototype assuan_pipe_connect and assuan_pipe_disconnect. (diff)
downloadgnupg2-aa4f78a45aa436a2d451d2155bac214ce9c1ac61.tar.xz
gnupg2-aa4f78a45aa436a2d451d2155bac214ce9c1ac61.zip
Map Libksba's OIDs to Libgcrypt digest algo numbers.
The latest Libgcrypt CVS version is needed.
Diffstat (limited to 'sm/certdump.c')
-rw-r--r--sm/certdump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sm/certdump.c b/sm/certdump.c
index 9685b1aa8..698937d8a 100644
--- a/sm/certdump.c
+++ b/sm/certdump.c
@@ -115,7 +115,7 @@ gpgsm_dump_cert (const char *text, KsbaCert cert)
ksba_free (dn);
log_printf ("\n");
- log_debug (" hash algo: %d\n", ksba_cert_get_digest_algo (cert));
+ log_debug (" hash algo: %s\n", ksba_cert_get_digest_algo (cert));
p = gpgsm_get_fingerprint_string (cert, 0);
log_debug (" SHA1 Fingerprint: %s\n", p);