diff options
author | Werner Koch <[email protected]> | 2011-12-14 09:30:01 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2011-12-14 09:30:31 +0000 |
commit | 2d91febbd8d30beb7eb33f7aa80ffd5691d1d3cc (patch) | |
tree | 6067bc98a1271e4ce7c45f61ef0283949b77765f /tools/gpg-connect-agent.c | |
parent | scd: Add debug option for reader function calls. (diff) | |
download | gnupg-2d91febbd8d30beb7eb33f7aa80ffd5691d1d3cc.tar.gz gnupg-2d91febbd8d30beb7eb33f7aa80ffd5691d1d3cc.zip |
scd: Fix resetting and closing of the reader.
* scd/command.c (update_card_removed): Do no act on an invalid VRDR.
(do_reset): Ignore apdu_reset error codes for no and inactive card.
Close the reader before setting the slot to -1.
(update_reader_status_file): Notify the application before closing the
reader.
--
With this change the scd now works as it did in the past. In
particular there is no more endless loop trying to open the reader by
the update_reader_status_file ticker function. That bug basically
blocked all card operations until the scdaemon was killed.
Diffstat (limited to 'tools/gpg-connect-agent.c')
0 files changed, 0 insertions, 0 deletions