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.

    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
    martinpaljak committed Jul 12, 2011
Commits on Jun 30, 2011
  1. Silent build rules by default

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

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

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

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

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

    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.
    LudovicRousseau committed Jun 21, 2011
Commits on Jun 17, 2011
Commits on Jun 16, 2011
  1. Fix compiler warnings:

     ../../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
    martinpaljak committed Jun 16, 2011
  2. compiler warning: muscle.c:588:12: warning: unused variable ‘buffer_s…

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

    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.
    martinpaljak committed Jun 16, 2011
Commits on Jun 15, 2011
  1. FinnishEid: fix the symbolic names for FINeID v2 cards with 2048 keys…

    … 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.
    martinpaljak committed Jun 15, 2011
Commits on Jun 14, 2011
  1. Fix PIN min and max sizes for pinpads

    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"
    LudovicRousseau committed with LudovicRousseau Jun 12, 2011
  2. Add PCSCv2_PART10_PROPERTY_* values

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

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