Stanislav Brabec
7fbf4fb2e0
bsc#1049213 OBS-URL: https://build.opensuse.org/request/show/511246 OBS-URL: https://build.opensuse.org/package/show/security:chipcard/coolkey?expand=0&rev=17
12 lines
700 B
Diff
12 lines
700 B
Diff
diff -up ./src/coolkey/slot.cpp.fix-spurious ./src/coolkey/slot.cpp
|
|
--- ./src/coolkey/slot.cpp.fix-spurious 2014-09-26 15:31:17.277958895 -0700
|
|
+++ ./src/coolkey/slot.cpp 2014-09-26 15:34:33.218313227 -0700
|
|
@@ -1412,6 +1412,7 @@ SlotList::waitForSlotEvent(CK_FLAGS flag
|
|
#endif
|
|
} while ((status == CKYSUCCESS) ||
|
|
(CKYCardContext_GetLastError(context) == SCARD_E_TIMEOUT) ||
|
|
+ (CKYCardContext_GetLastError(context) == SCARD_E_UNKNOWN_READER) ||
|
|
(CKYCardContext_GetLastError(context) == SCARD_E_READER_UNAVAILABLE) ||
|
|
(CKYCardContext_GetLastError(context) == SCARD_E_NO_SERVICE) ||
|
|
(CKYCardContext_GetLastError(context) == SCARD_E_SERVICE_STOPPED) );
|