1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-02-01 16:33:02 +01:00

(open_card): Issue new CARDCTRL(4) status.

This commit is contained in:
Werner Koch 2005-01-20 18:25:25 +00:00
parent b2b2786be1
commit 6a0fda89c0
2 changed files with 4 additions and 1 deletions

View File

@ -1,8 +1,10 @@
2005-01-20 Werner Koch <wk@g10code.com> 2005-01-20 Werner Koch <wk@g10code.com>
* cardglue.c (open_card): Issue new CARDCTRL(4) status.
* gpgv.c (tty_fprintf): New stub. * gpgv.c (tty_fprintf): New stub.
* card-util.c (card_status): Create asecret key stub on the fly * card-util.c (card_status): Create a secret key stub on the fly
and print more information about a card key. and print more information about a card key.
* import.c (pub_to_sec_keyblock, auto_create_card_key_stub): New. * import.c (pub_to_sec_keyblock, auto_create_card_key_stub): New.
* getkey.c (get_seckeyblock_byfprint): New. * getkey.c (get_seckeyblock_byfprint): New.

View File

@ -295,6 +295,7 @@ open_card (void)
} }
if (rc) if (rc)
{ {
write_status_text (STATUS_CARDCTRL, "4");
log_info ("selecting openpgp failed: %s\n", gpg_strerror (rc)); log_info ("selecting openpgp failed: %s\n", gpg_strerror (rc));
apdu_close_reader (slot); apdu_close_reader (slot);
xfree (app); xfree (app);