common: Remove simple password query error codes.
authorJustus Winter <justus@g10code.com>
Thu, 11 Aug 2016 07:52:08 +0000 (09:52 +0200)
committerJustus Winter <justus@g10code.com>
Thu, 11 Aug 2016 07:52:08 +0000 (09:52 +0200)
commit9e6503b7ce019aa417099ded1dda87b68c33f912
treed4a27497ec9f7f07439331c290dc4ad6434e15a6
parented5c1b0b8a4790c4fb36a3129387f7c2ef5db302
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 <justus@g10code.com>
agent/preset-passphrase.c
common/simple-pwquery.c
common/simple-pwquery.h
tools/symcryptrun.c