Changeset d5b8a6c in OpenSC


Ignore:
Timestamp:
06/05/11 16:53:07 (12 months ago)
Author:
vtarasov <vtarasov@…>
Branches:
master, staging
Children:
f0ab932
Parents:
226bfaa
git-author:
vtarasov <vtarasov@…> (06/05/11 16:53:07)
git-committer:
vtarasov <vtarasov@…> (06/05/11 16:53:07)
Message:

RuToken?: 'use uninitialized variable' warning

git-svn-id:  https://www.opensc-project.org/svnp/opensc/trunk@5553 c6295689-39f2-0310-b995-f0e70906c6a9

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/pkcs15init/pkcs15-rutoken.c

    rd888b3f rd5b8a6c  
    151151        } 
    152152 
     153        auth_info = (sc_pkcs15_auth_info_t *)pin_obj->data; 
    153154        if (auth_info->auth_type != SC_PKCS15_PIN_AUTH_TYPE_PIN) 
    154155                return SC_ERROR_OBJECT_NOT_VALID; 
    155156 
    156         auth_info = (sc_pkcs15_auth_info_t *)pin_obj->data; 
    157157        for (i = 0; i < sizeof(do_pins)/sizeof(do_pins[0]); ++i) 
    158158                if (auth_info->attrs.pin.reference == do_pins[i].id) 
Note: See TracChangeset for help on using the changeset viewer.