diff options
author | Werner Koch <[email protected]> | 2011-12-12 19:34:12 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2011-12-12 19:34:12 +0000 |
commit | cd29dc0f1cf7f3bd7938ffa65bf13f9a75d8c156 (patch) | |
tree | b262c6244c3043c43eaf200ea029c71060d77bc9 /scd/scdaemon.c | |
parent | gitlog-to-changelog: New option --tear-off. (diff) | |
download | gnupg-cd29dc0f1cf7f3bd7938ffa65bf13f9a75d8c156.tar.gz gnupg-cd29dc0f1cf7f3bd7938ffa65bf13f9a75d8c156.zip |
Fix detection of card removal and insertion.
* scd/apdu.c (apdu_connect): Return status codes for no card available
and inactive card.
* scd/command.c (TEST_CARD_REMOVAL): Also test for GPG_ERR_CARD_RESET.
(open_card): Map apdu_connect status to GPG_ERR_CARD_RESET.
Diffstat (limited to 'scd/scdaemon.c')
0 files changed, 0 insertions, 0 deletions