aboutsummaryrefslogtreecommitdiffstats
path: root/tools/symcryptrun.c
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2016-08-11 07:52:08 +0000
committerJustus Winter <[email protected]>2016-08-11 07:52:08 +0000
commit9e6503b7ce019aa417099ded1dda87b68c33f912 (patch)
treed4a27497ec9f7f07439331c290dc4ad6434e15a6 /tools/symcryptrun.c
parentgpg: Print the signer's UID during verification. (diff)
downloadgnupg-9e6503b7ce019aa417099ded1dda87b68c33f912.tar.gz
gnupg-9e6503b7ce019aa417099ded1dda87b68c33f912.zip
common: Remove simple password query error codes.
* common/simple-pwquery.h: Remove mapping function. Move all definitions of status codes... * common/simple-pwquery.c: ... here, and define them to meaningful gpg error values. * agent/preset-passphrase.c (preset_passphrase): Use error code as-is. (forget_passphrase): Likewise. * tools/symcryptrun.c (confucius_get_pass): Likewise. Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'tools/symcryptrun.c')
-rw-r--r--tools/symcryptrun.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/symcryptrun.c b/tools/symcryptrun.c
index 5c1f0da1b..b6dc84389 100644
--- a/tools/symcryptrun.c
+++ b/tools/symcryptrun.c
@@ -238,9 +238,6 @@ my_strusage (int level)
__result; }))
#endif
-/* Include the implementation of map_spwq_error. */
-MAP_SPWQ_ERROR_IMPL
-
/* Unlink a file, and shred it if SHRED is true. */
int
remove_file (char *name, int shred)
@@ -441,7 +438,6 @@ confucius_get_pass (const char *cacheid, int again, int *canceled)
pw = simple_pwquery (cacheid,
again ? _("does not match - try again"):NULL,
_("Passphrase:"), NULL, 0, &err);
- err = map_spwq_error (err);
i18n_switchback (orig_codeset);
if (!pw)