aboutsummaryrefslogtreecommitdiffstats
path: root/scd/command.c
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2003-06-04 21:37:56 +0000
committerMarcus Brinkmann <[email protected]>2003-06-04 21:37:56 +0000
commita58ce94d8ef56ef13e33d4171141eb3e6c43bdc6 (patch)
tree6744a58aca08fc2d5da0ac6a145a970b587dc1bd /scd/command.c
parentInadvertently left out of the 2003-06-01 checkin (diff)
downloadgnupg-a58ce94d8ef56ef13e33d4171141eb3e6c43bdc6.tar.gz
gnupg-a58ce94d8ef56ef13e33d4171141eb3e6c43bdc6.zip
Update error handling to match gpg-error in CVS.
Diffstat (limited to 'scd/command.c')
-rw-r--r--scd/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scd/command.c b/scd/command.c
index 329fb4d2f..6c30d3de7 100644
--- a/scd/command.c
+++ b/scd/command.c
@@ -452,7 +452,7 @@ pin_cb (void *opaque, const char *info, char **retstr)
{
/* We require that the returned value is an UTF-8 string */
xfree (value);
- return gpg_error (GPG_ERR_INVALID_RESPONSE);
+ return gpg_error (GPG_ERR_INV_RESPONSE);
}
*retstr = value;
return 0;