summaryrefslogtreecommitdiffstats
path: root/g10/trust.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/trust.c')
-rw-r--r--g10/trust.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/trust.c b/g10/trust.c
index c8a1c2c70..796694d59 100644
--- a/g10/trust.c
+++ b/g10/trust.c
@@ -317,7 +317,7 @@ get_validity (PKT_public_key *pk, PKT_user_id *uid)
{
char *tempkeystr = xstrdup (keystr (pk->main_keyid));
log_error ("error getting main key %s of subkey %s: %s\n",
- tempkeystr, keystr (kid), g10_errstr (rc));
+ tempkeystr, keystr (kid), gpg_strerror (rc));
xfree (tempkeystr);
validity = TRUST_UNKNOWN;
goto leave;