Overview
Comment: | Corrected issue with sending wrong APDU for selecting applet, failing on older cards |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
68ed2268aae110619c8203d6bd54a9a7 |
User & Date: | rkeene on 2010-05-26 15:58:08 |
Other Links: | manifest | tags |
Context
2010-05-26
| ||
16:01 | CACKey 0.5.9 check-in: db42db5d95 user: rkeene tags: 0.5.9, trunk | |
15:58 | Corrected issue with sending wrong APDU for selecting applet, failing on older cards check-in: 68ed2268aa user: rkeene tags: trunk | |
2010-05-23
| ||
07:07 |
Added more debugging for failed realloc()s
Added ifdefs to support more versions of PCSC in debug mode check-in: 170e3dfda4 user: rkeene tags: trunk | |
Changes
Modified cackey.c from [c8c7e5c610] to [595ac3f06f].
︙ | ︙ | |||
1363 1364 1365 1366 1367 1368 1369 | static cackey_ret cackey_select_applet(struct cackey_slot *slot, unsigned char *aid, size_t aid_len) { int send_ret; CACKEY_DEBUG_PRINTF("Called."); CACKEY_DEBUG_PRINTBUF("Selecting applet:", aid, aid_len); | | | 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 | static cackey_ret cackey_select_applet(struct cackey_slot *slot, unsigned char *aid, size_t aid_len) { int send_ret; CACKEY_DEBUG_PRINTF("Called."); CACKEY_DEBUG_PRINTBUF("Selecting applet:", aid, aid_len); send_ret = cackey_send_apdu(slot, GSCIS_CLASS_ISO7816, GSCIS_INSTR_SELECT, GSCIS_PARAM_SELECT_APPLET, 0x00, aid_len, aid, 0x00, NULL, NULL, NULL); if (send_ret != CACKEY_PCSC_S_OK) { CACKEY_DEBUG_PRINTF("Failed to open applet, returning in failure"); return(CACKEY_PCSC_E_GENERIC); } CACKEY_DEBUG_PRINTF("Successfully selected file"); |
︙ | ︙ |