diff options
author | Daniel Hoffend <[email protected]> | 2015-12-06 23:13:59 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2015-12-10 02:02:16 +0000 |
commit | d1a97585c5e73fbc7d4cf90e38f76ffc5aea305f (patch) | |
tree | b6b56bf4231379f5284ff8ecfd76fcee7d1bd31d /common/t-stringhelp.c | |
parent | tests: Add some more gpgtar tests. (diff) | |
download | gnupg-d1a97585c5e73fbc7d4cf90e38f76ffc5aea305f.tar.gz gnupg-d1a97585c5e73fbc7d4cf90e38f76ffc5aea305f.zip |
scd: Fix removal of unplugged usb readers on Windows.
* scd/apdu.c (pcsc_error_to_sw): map PCSC_E_NO_SERVICE and
PCSC_E_SERVICE_STOPPED to the internal SW_HOST_NO_READER error code.
--
Signed-off-by: Daniel Hoffend <[email protected]>
GnuPG-bug-id: 2167
In Windows 8 (and later), PC/SC service only runs when reader/token is
plugged in. After its removal, it returns PCSC_E_NO_SERVICE error.
This error should be handled as no reader. This comment is by gniibe.
Diffstat (limited to 'common/t-stringhelp.c')
0 files changed, 0 insertions, 0 deletions