Changeset 32d035a in OpenSC
- Timestamp:
- 06/05/11 15:13:06 (12 months ago)
- Branches:
- master, staging
- Children:
- d888b3f
- Parents:
- f45f22c
- git-author:
- vtarasov <vtarasov@…> (06/05/11 15:13:06)
- git-committer:
- vtarasov <vtarasov@…> (06/05/11 15:13:06)
- File:
-
- 1 edited
-
src/libopensc/card-authentic.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/libopensc/card-authentic.c
rda0a77b r32d035a 1555 1555 1556 1556 LOG_FUNC_CALLED(ctx); 1557 sc_log(ctx, "get PIN(type:%X,ref:%X )", data->pin_type, data->pin_reference);1557 sc_log(ctx, "get PIN(type:%X,ref:%X,tries-left:%i)", data->pin_type, data->pin_reference, data->pin1.tries_left); 1558 1558 1559 1559 sc_format_apdu(card, &apdu, SC_APDU_CASE_2_SHORT, 0xCA, 0x5F, data->pin_reference); … … 1574 1574 LOG_TEST_RET(ctx, rv, "'GET DATA' error"); 1575 1575 1576 data->pin1.tries_left = -1; 1577 1576 1578 rv = authentic_parse_credential_data(ctx, data, apdu.resp, apdu.resplen); 1577 1579 LOG_TEST_RET(ctx, rv, "Cannot parse credential data"); … … 1611 1613 pin_cmd.pin_reference = data->pin_reference; 1612 1614 pin_cmd.pin_type = data->pin_type; 1615 pin_cmd.pin1.tries_left = -1; 1613 1616 1614 1617 rv = authentic_pin_get_policy(card, &pin_cmd); … … 1689 1692 1690 1693 LOG_FUNC_CALLED(ctx); 1691 sc_log(ctx, "PIN-CMD:%X,PIN(type:%X,ret:%i),PIN1(%p,len:%i),PIN2(%p,len:%i)", data->cmd, data->pin_type, 1692 data->pin_reference, data->pin1.data, data->pin1.len, data->pin2.data, data->pin2.len); 1694 sc_log(ctx, "PIN-CMD:%X,PIN(type:%X,ret:%i)", data->cmd, data->pin_type, data->pin_reference); 1695 sc_log(ctx, "PIN1(%p,len:%i,tries-left:%i)", data->pin1.data, data->pin1.len, data->pin1.tries_left); 1696 sc_log(ctx, "PIN2(%p,len:%i)", data->pin2.data, data->pin2.len); 1693 1697 1694 1698 switch (data->cmd) {
Note: See TracChangeset
for help on using the changeset viewer.
