main(): return EXIT_FAILURE instead of EXIT_SUCCESS if a unknown
argument is passed
2 lines of code changed in 1 file:
Avoids a crash if a client sends a unknown command.
Thanks to Martin Vogt for the bug report
http://archives.neohapsis.com/archives/dev/muscle/2010-q2/0096.html
7 lines of code changed in 2 files:
SCardControl(): do not check for card events since we are talking to the
reader not the card.
A smart card removal should not make SCardControl() fail with
SCARD_W_REMOVED_CARD
0 lines of code changed in 1 file:
get SCARD_ATTR_VENDOR_IFD_SERIAL_NO PC/SC attribute
53 lines of code changed in 1 file:
Add PCSCv2_PART10_PROPERTY_bPPDUSupport
1 lines of code changed in 1 file:
Also display the return value of SCardReleaseContext()
2 lines of code changed in 2 files:
MessageSend(), MessageReceive() & MessageSendWithHeader() do not timeout
any more. If the other side of the socket dies we will get an error from
the kernel.
Add a new MessageReceiveTimeout() to implement SCardGetStatusChange()
with a timeout.
The constants PCSCLITE_WRITE_TIMEOUT & PCSCLITE_READ_TIMEOUT are now
also removed.
The problem was that if a client does nothing during
PCSCLITE_READ_TIMEOUT (120 seconds by default) then pcscd considers it
as a dead client and closes the connection. I guess this problem was
present since the first version of pcsc-lite but nobody complained
before.
Thanks to Thierry Fabre for the bug report.
161 lines of code changed in 5 files:
rename SHMfoobar() functions in foobar() since we do not use shared
memory (SHM) anymore
85 lines of code changed in 6 files:
Add a synchronisation so that if pcscd is auto started the initial
reader list is available before the server takes commands from clients.
Before the change early calls of SCardListReaders() returned an empty
list of readers even if a reader was connected.
Thanks to Patrice Angelini for the bug report
20 lines of code changed in 1 file:
Remove etc directory completely
- serial readers are rare => no need for /etc/reader.conf.d/
- pcscd now autostarts => no need for /etc/init.d/pcscd script or equivalent
0 lines of code changed in 9 files:
Do not install files in /etc any more.
Serial drivers are rare now.
1 lines of code changed in 2 files:
Use $(sysconfdir_exp) instead of (removed) $(confdir_exp)
Fixes [#312498] Wrong installation path for reader.conf.d
1 lines of code changed in 1 file:
Unitary test for bug fixed in revision 4940
109 lines of code changed in 1 file:
SCardConnect() & SCardReconnect(): do not reset the cardProtocol in
SCARD_SHARE_DIRECT case since the card have _not_ been reseted. A new
PPS negociation would fail.
See SCardConnect_DIRECT2.py for a Unitary Test
0 lines of code changed in 1 file:
update date and release for 1.6.0
2 lines of code changed in 1 file:
release 1.6.0
107 lines of code changed in 2 files:
ExitValue default value is now EXIT_FAILURE instead of EXIT_SUCCESS
1 lines of code changed in 1 file:
main(): remove dead code "used" when no reader.conf file is found
3 lines of code changed in 1 file:
SCardEstablishContext(): also log the binary name if execl() fails
2 lines of code changed in 1 file:
EHDestroyEventHandler(): use pthread_cancel() only if it is present (not
the case on Android)
2 lines of code changed in 1 file:
Add a check for pthread_cancel() (not present on Android)
6 lines of code changed in 1 file:
Add missing #include <pthread.h>
Compilation failed on Android but not on my Debian as the libC is
different on the two systems. On Debian sys/types.h defines pthread
types
1 lines of code changed in 1 file: