summaryrefslogtreecommitdiffstats
path: root/agent/learncard.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2006-09-06 18:35:52 +0200
committerWerner Koch <wk@gnupg.org>2006-09-06 18:35:52 +0200
commiteef036df235b7fb16b57bb78daf6f7e590d8e6d6 (patch)
tree9350e6fa2ffde2219b3b13dabb450c96064ca1ad /agent/learncard.c
parentMinor changes and typo fixes. (diff)
downloadgnupg2-eef036df235b7fb16b57bb78daf6f7e590d8e6d6.tar.xz
gnupg2-eef036df235b7fb16b57bb78daf6f7e590d8e6d6.zip
The big Assuan error code removal.
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;
}