gnupg/scd
Werner Koch 3af261572b * gpg-agent.c (handle_connections): Need to check for events if
select returns with -1.

* tools.texi (gpg-connect-agent): New.

* app-openpgp.c (get_one_do): Never try to get a non cacheable
object from the cache.
(get_one_do): Add new arg to return an error code.  Changed all
callers.
(do_getattr): Let it return a proper error code.

* app.c (select_application): Return an error code and the
application context in an new arg.
* command.c (open_card): Adjusted for that.  Don't use the
fallback if no card is present.  Return an error if the card has
been removed without a reset.
(do_reset, cmd_serialno): Clear that error flag.
(TEST_CARD_REMOVAL): New. Use it with all command handlers.

* scdaemon.c (ticker_thread): Termintate if a shutdown is pending.

* apdu.c: Added some PCSC error codes.
(pcsc_error_to_sw): New.
(reset_pcsc_reader, pcsc_get_status, pcsc_send_apdu)
(open_pcsc_reader): Do proper error code mapping.

* gpg-connect-agent.c: New.
* Makefile.am: Add it.
2005-02-24 17:36:11 +00:00
..
ChangeLog * gpg-agent.c (handle_connections): Need to check for events if 2005-02-24 17:36:11 +00:00
Makefile.am A whole bunch of changes to allow building for W32. 2004-12-15 14:15:54 +00:00
apdu.c * gpg-agent.c (handle_connections): Need to check for events if 2005-02-24 17:36:11 +00:00
apdu.h Added ID keywords because these files are often used in other packages. 2004-10-14 09:12:36 +00:00
app-common.h * gpg-agent.c (handle_connections): Need to check for events if 2005-02-24 17:36:11 +00:00
app-dinsig.c * app-dinsig.c: Implemented. Based on app-nks.c and card-dinsig.c 2004-03-16 18:59:21 +00:00
app-help.c * command.c (scd_update_reader_status_file): Write status files. 2004-04-20 16:42:55 +00:00
app-nks.c * app-dinsig.c: Implemented. Based on app-nks.c and card-dinsig.c 2004-03-16 18:59:21 +00:00
app-openpgp.c * gpg-agent.c (handle_connections): Need to check for events if 2005-02-24 17:36:11 +00:00
app-p15.c First take on a W32 port 2004-12-02 07:48:09 +00:00
app.c * gpg-agent.c (handle_connections): Need to check for events if 2005-02-24 17:36:11 +00:00
atr.c * Always use 'dynload.h' instead of 'dlfcn.h'. 2003-08-14 12:20:08 +00:00
atr.h This commit was manufactured by cvs2svn to create branch 2003-06-05 07:14:21 +00:00
card-common.h Replaced deprecated type names. 2003-12-17 12:27:51 +00:00
card-dinsig.c *** empty log message *** 2004-03-16 10:49:37 +00:00
card-p15.c *** empty log message *** 2004-03-16 10:49:37 +00:00
card.c * app-dinsig.c: Implemented. Based on app-nks.c and card-dinsig.c 2004-03-16 18:59:21 +00:00
ccid-driver.c Forgot to commit the recent fixed to scd and logging - doing it now 2005-02-03 13:20:57 +00:00
ccid-driver.h Added ID keywords because these files are often used in other packages. 2004-10-14 09:12:36 +00:00
command.c * gpg-agent.c (handle_connections): Need to check for events if 2005-02-24 17:36:11 +00:00
iso7816.c * sc-investigate: Removed. 2004-10-20 08:54:45 +00:00
iso7816.h Added ID keywords because these files are often used in other packages. 2004-10-14 09:12:36 +00:00
pcsc-wrapper.c * sc-investigate: Removed. 2004-10-20 08:54:45 +00:00
sc-copykeys.c Some minor bug fixes, new test utilities and started support for other 2004-01-27 16:40:42 +00:00
scdaemon.c * gpg-agent.c (handle_connections): Need to check for events if 2005-02-24 17:36:11 +00:00
scdaemon.h Avoid the " map_to_assuan_status called with no error source" diagnostic. 2004-12-18 10:22:10 +00:00
tlv.c (main) <gpgconf_list>: Fixed output for pcsc_driver. 2004-03-23 12:33:20 +00:00
tlv.h Some minor bug fixes, new test utilities and started support for other 2004-01-27 16:40:42 +00:00