The timeout parameter of SCardGetStatusChange() is a DWORD (unsigned int). An int timeout parameter was used instead. The problem happens on 64-bits architectures where DWORD is 64-bits long and int is only 32-bits long. The sign extension C mechanism transforms the PC/SC value INFINITE into -1 instead of 4294967295. See http://www.opensc-project.org/pipermail/opensc-devel/2011-June/016831.html "Kobil KAAN Advanced Reader, "waiting for card" timeout" |
||
---|---|---|
MacOSX | ||
doc | ||
etc | ||
m4 | ||
solaris | ||
src | ||
win32 | ||
COPYING | ||
Makefile.am | ||
Makefile.mak | ||
NEWS | ||
README | ||
bootstrap | ||
configure.ac | ||
svnignore |
README
OpenSC documentation wiki is available online at http://www.opensc-project.org/opensc/ Please take a look at the documentation before trying to use OpenSC.