aboutsummaryrefslogtreecommitdiffstats
path: root/g10/cardglue.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2004-10-15 13:16:58 +0000
committerWerner Koch <[email protected]>2004-10-15 13:16:58 +0000
commitc3a51cd17d3a499b14b6329fd9390fa9d73521b7 (patch)
tree868e5aed3a1ec36f25923543e777af353451d63e /g10/cardglue.c
parent* gpgkeys_ldap.c (main, show_help): Kludge to implement standard (diff)
downloadgnupg-c3a51cd17d3a499b14b6329fd9390fa9d73521b7.tar.gz
gnupg-c3a51cd17d3a499b14b6329fd9390fa9d73521b7.zip
* README: Mentioned --enable-selinux-support.
* status.h (STATUS_NEED_PASSPHRASE_PIN): New. * status.c (get_status_string): Added. * passphrase.c (ask_passphrase): Moved status printing to .. * cardglue.c (pin_cb): .. here and issue new status message. * keyedit.c (sign_uids): Don't include the leading LF in the translatable string but print them separately. * apdu.c (apdu_open_remote_reader) [_WIN32]: We don't have ENOSYS.
Diffstat (limited to '')
-rw-r--r--g10/cardglue.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/g10/cardglue.c b/g10/cardglue.c
index c5b76edcc..64635b450 100644
--- a/g10/cardglue.c
+++ b/g10/cardglue.c
@@ -628,6 +628,10 @@ pin_cb (void *opaque, const char *info, char **retstr)
*retstr = NULL;
log_debug ("asking for PIN '%s'\n", info);
+ if (is_status_enabled())
+ write_status_text (STATUS_NEED_PASSPHRASE_PIN,
+ isadmin? "OPENPGP 3" : "OPENPGP 1");
+
value = ask_passphrase (info,
isadmin? "passphrase.adminpin.ask"
: "passphrase.pin.ask",