aboutsummaryrefslogtreecommitdiffstats
path: root/sm/fingerprint.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2003-11-12 15:17:44 +0000
committerWerner Koch <[email protected]>2003-11-12 15:17:44 +0000
commitdba40e5e45e80896dc8864c2ae97f026069e2906 (patch)
tree724a2e0f0f73ef66cf6284adb7e2463785874ffe /sm/fingerprint.c
parent2003-11-10 Moritz Schulte <[email protected]> (diff)
downloadgnupg-dba40e5e45e80896dc8864c2ae97f026069e2906.tar.gz
gnupg-dba40e5e45e80896dc8864c2ae97f026069e2906.zip
Mainly changes to adjust for the changed KSBA API.
Diffstat (limited to 'sm/fingerprint.c')
-rw-r--r--sm/fingerprint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sm/fingerprint.c b/sm/fingerprint.c
index 028c08aab..ec1ed91f2 100644
--- a/sm/fingerprint.c
+++ b/sm/fingerprint.c
@@ -70,7 +70,7 @@ gpgsm_get_fingerprint (KsbaCert cert, int algo, char *array, int *r_len)
rc = ksba_cert_hash (cert, 0, HASH_FNC, md);
if (rc)
{
- log_error ("ksba_cert_hash failed: %s\n", ksba_strerror (rc));
+ log_error ("ksba_cert_hash failed: %s\n", gpg_strerror (rc));
gcry_md_close (md);
memset (array, 0xff, len); /* better return an invalid fpr than NULL */
return array;
@@ -204,7 +204,7 @@ gpgsm_get_keygrip_hexstring (KsbaCert cert)
serial number for this. In most cases the serial number is not
that large and the resulting string can be passed on an assuan
command line. Everything is hexencoded with the serialnumber
- delimted from the has by a dot.
+ delimited from the hash by a dot.
The caller must free the string.
*/