Permalink
Switch branches/tags
Nothing to show
Commits on Jul 15, 2011
  1. Release OpenSC 0.12.2

    martinpaljak committed Jul 15, 2011
Commits on Jul 13, 2011
  1. NEWS: add note about 17bc2c8

    martinpaljak committed Jul 13, 2011
  2. FINeID: fix for broken organisation cards.

    martinpaljak committed Jul 12, 2011
    Certain FINeID cards for organisations return 6A88 instead of 6A82 for missing files.
    This makes sc_enum_apps fail and will result in unknown card behavior from OpenSC.
    
    See http://www.opensc-project.org/pipermail/opensc-devel/2011-June/016910.html
Commits on Jun 30, 2011
  1. Silent build rules by default

    LudovicRousseau committed with martinpaljak Jun 30, 2011
    Use make V=1 for the verbose mode (as used before)
Commits on Jun 28, 2011
Commits on Jun 23, 2011
  1. Fix compiler warnings

    LudovicRousseau committed Jun 23, 2011
    ctx.c:679:7: warning: "ENABLE_CTAPI" is not defined
    ctx.c:681:7: warning: "ENABLE_OPENCT" is not defined
  2. C_Digest(): check context validity before logging

    LudovicRousseau committed Jun 23, 2011
    If the context is invalid (no C_Initialize) the we get a:
    log.c:76: sc_do_log_va: Assertion `ctx != ((void *)0)' failed.
  3. only C_GetFunctionList needs to be exported

    LudovicRousseau committed Jun 23, 2011
    Calling applicatinos must locate function pointers through
    C_GetFunctionList() after dlopen().
Commits on Jun 21, 2011
  1. Fix compiler warning

    LudovicRousseau committed Jun 21, 2011
    libscdl.c: In function 'sc_dlerror':
    libscdl.c:86: warning: old-style function definition
  2. Check the lib is initialized before logging

    LudovicRousseau committed Jun 21, 2011
    C_CloseSession() and C_CloseAllSessions() were calling sc_debug() before
    any check on the validity of the context. So if C_Initialize() was not
    previously called you get an assert:
    log.c:76: sc_do_log_va: Assertion `ctx != ((void *)0)' failed.
Commits on Jun 17, 2011
Commits on Jun 16, 2011
  1. Fix compiler warnings:

    martinpaljak committed Jun 16, 2011
     ../../src/libopensc/cardctl.h:231:30: warning: comma at end of enumerator list
     ../../src/libopensc/cardctl.h:629:13: warning: comma at end of enumerator list
  2. compiler warning: muscle.c:588:12: warning: unused variable ‘buffer_s…

    martinpaljak committed Jun 16, 2011
    …ize’
    
    Also remove asserts, production code is compiled with asserts turned off, thus the unused variable warning.
  3. pcsc: correctly handle timeout situation when refreshing reader state.

    martinpaljak committed Jun 16, 2011
    The code that treated a timeout as success was never reached, because the
    surrounding if eliminated the possibility of entering the block when the return code
    from SCardGetStatusChange was SCARD_E_TIMEOUT.
    
    Issue found by Coverity Scan.
Commits on Jun 15, 2011
  1. FinnishEid: fix the symbolic names for FINeID v2 cards with 2048 keys…

    martinpaljak committed Jun 15, 2011
    … and restore compatibility with v2 cards with 1024 keys.
    
    The more proper name for the 2048bit cards could be "v2.5".
    
    Thanks to jem@iki.fi, kivinen@iki.fi and tuju@iki.fi for the patch.
Commits on Jun 14, 2011
  1. Fix PIN min and max sizes for pinpads

    LudovicRousseau committed Jun 12, 2011
    Some pinpads do not support PIN size less than 4 or greater than 8.
    PC/SC v2 part 10 allows to ask the driver/reader for the supported
    values. This avoids to have the SECURE PIN CCID command rejected by the
    reader.
    
    This should fix OpenSC ticket #361 "card-entersafe should ask the pinpad
    reader for the maximum pin size"
  2. Add PCSCv2_PART10_PROPERTY_* values

    LudovicRousseau committed Jun 12, 2011
    These are the tag values returned by PC/SC v2 part 10
    FEATURE_GET_TLV_PROPERTIES command.
  3. OpenSC.msi: install opensc.dll into the 'tools' directory

    viktorTarasov committed Jun 14, 2011
    Now the DLLs installed into the 'system' directory are static.
    Only opensc tools depend on opensc.dll.