TPSearchBundlesForAtr(): revert the previous patch.
Thanks to Toni Andjelkovic for his patch patch :-)
0 lines of code changed in 1 file:
TPSearchBundlesForAtr(): initialise tokenInfo so that it contains safe
default values when no pcsc/services/ directory is found.
Thanks to Toni Andjelkovic for the patch
1 lines of code changed in 1 file:
fflush(stdout) so that "Please insert a working reader : " is
displayed
1 lines of code changed in 1 file:
use "%option nounput" to avoid the "warning: `yyunput' defined but not
used"
4 lines of code changed in 2 files:
rewrite of mscreadallocateobject
38 lines of code changed in 1 file:
initialized more vars in ListTokens
11 lines of code changed in 1 file:
add "Card not transacted" error messages. Thanks to Bruce Barnett for
the patch.
13 lines of code changed in 2 files:
LTPBundleFindValueWithKey(): sizeof(tokenValue) is not what we want
since tokenValue is a char * and not a char []
1 lines of code changed in 1 file:
use strlcpy and simplify the code
28 lines of code changed in 1 file:
remove PCSC/ from the #include path
2 lines of code changed in 1 file:
SCardListReaders(): simplify the code
22 lines of code changed in 1 file:
SCardListReaders(): simplify the multi-string creation
3 lines of code changed in 1 file:
comment out unsused function RFListReaders()
2 lines of code changed in 1 file:
use strlcpy() instead of strcpy()
19 lines of code changed in 3 files:
use strlcpy() insted of strcpy()
37 lines of code changed in 1 file:
EHDestroyEventHandler(): do not try to stop a not started thread (for a
reader that failed initialisation and never started)
7 lines of code changed in 1 file:
RFAddReader(): stop if EHSpawnEventHandler() returns an error. This
occurs if the initial reader check (IFDStatusICC) fails.
3 lines of code changed in 1 file:
convert MSC_INCORRECT_P1/P2 to the corresponding text error message
(instead of "Unknown SW").
Thanks to Bruce Barnett for the patch.
6 lines of code changed in 1 file:
use strlcpy/strlcat instead of strncpy/strncat
40 lines of code changed in 1 file:
use internal strlcpy.c and strlcat.c if these functions are not provided
by the OS
15 lines of code changed in 1 file:
check if strlcpy/strlcat are provided by the OS (OpenBSD and some
others)
14 lines of code changed in 1 file:
prototypes of strlcpy/strlcat
19 lines of code changed in 1 file:
imported from ftp://ftp.openbsd.org/pub/OpenBSD/src/lib/libc/string/
293 lines of code changed in 3 files:
update copyright: add my name
2 lines of code changed in 1 file:
add a test for SCardReconnect()
14 lines of code changed in 1 file:
EHStatusHandlerThread(): remove comment from call to
RFSetReaderEventState(rContext, SCARD_RESET);
The comment is present from the initial CVS version. I don't know why
is was ever needed.
This is needed so that SCardReconnect() works after a card movement.
Otherwise SCardReconnect() returns "Card was removed" even if the new
card is reseted.
Note: the comment was present from the initial CVS version (2002/03/30).
I don't know why is was ever needed.
1 lines of code changed in 1 file:
SCardConnect()/SCardReconnect(): do not set
rContext->readerState->cardProtocol if PHSetProtocol() returns an error.
This will avoid having a protocol set to -2 (SET_PROTOCOL_PPS_FAILED)
16 lines of code changed in 1 file:
PHSetProtocol(): add the error code returned by the driver in case of
PTS failure in the debug message
1 lines of code changed in 1 file:
use $prefix value instead of /usr/local/ in usbdropdir and muscledropdir
10 lines of code changed in 1 file:
test SCardGetAttrib() with a NULL pbAttr paraleter
6 lines of code changed in 1 file:
add support of SCardGetAttrib() with a NULL pbAttr parameter to only get
the needed lenth in pcbAttrLen
16 lines of code changed in 1 file: