aboutsummaryrefslogtreecommitdiffstats
path: root/sm/fingerprint.c
diff options
context:
space:
mode:
Diffstat (limited to 'sm/fingerprint.c')
-rw-r--r--sm/fingerprint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sm/fingerprint.c b/sm/fingerprint.c
index 6a84966db..6e458cf76 100644
--- a/sm/fingerprint.c
+++ b/sm/fingerprint.c
@@ -171,7 +171,7 @@ gpgsm_get_keygrip (KsbaCert cert, char *array)
gcry_sexp_release (s_pkey);
if (!array)
{
- rc = seterr (General_Error);
+ rc = gpg_error (GPG_ERR_GENERAL);
log_error ("can't calculate keygrip\n");
return NULL;
}