aboutsummaryrefslogtreecommitdiffstats
path: root/agent/learncard.c
diff options
context:
space:
mode:
Diffstat (limited to 'agent/learncard.c')
-rw-r--r--agent/learncard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/agent/learncard.c b/agent/learncard.c
index 8ddf4ee54..8b2c7addd 100644
--- a/agent/learncard.c
+++ b/agent/learncard.c
@@ -265,8 +265,8 @@ send_cert_back (ctrl_t ctrl, const char *id, void *assuan_context)
if (rc)
{
log_error ("sending certificate failed: %s\n",
- assuan_strerror (rc));
- return map_assuan_err (rc);
+ gpg_strerror (rc));
+ return rc;
}
return 0;
}