1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-23 10:29:58 +01:00
Daniel Hoffend 904fbdccd6 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 <dh@dotlan.net>
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.

(backport of commit d1a97585c5e73fbc7d4cf90e38f76ffc5aea305f)
2015-12-15 09:51:56 +09:00
..
2013-02-08 09:20:43 +09:00
2015-12-15 09:48:06 +09:00
2013-02-08 09:20:43 +09:00
2009-05-08 15:07:45 +00:00
2013-02-08 09:20:43 +09:00
2009-12-21 16:19:09 +00:00
2007-07-04 19:49:40 +00:00
2007-07-04 19:49:40 +00:00
2007-07-04 19:49:40 +00:00
2008-11-03 10:54:18 +00:00
2007-07-04 19:49:40 +00:00
2013-02-08 09:20:43 +09:00
2013-02-08 09:20:43 +09:00
2013-02-08 09:20:43 +09:00