Overview
Comment: | Updated to copy type when copying pcsc_identities |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | piv |
Files: | files | file ages | folders |
SHA1: |
150cbc779099e7331a6b6c670c34e7d8 |
User & Date: | rkeene on 2013-01-15 05:27:53 |
Other Links: | branch diff | manifest | tags |
Context
2013-01-15
| ||
14:12 | Merged in trunk check-in: 8f27214611 user: rkeene tags: piv | |
05:27 | Updated to copy type when copying pcsc_identities check-in: 150cbc7790 user: rkeene tags: piv | |
04:52 | Minor cleanup check-in: eed54cb794 user: rkeene tags: piv | |
Changes
Modified cackey.c from [50fa54ae2c] to [edf097489b].
︙ | |||
2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 | 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 | + + | } if (dest == NULL) { dest = malloc(sizeof(*dest) * count); } for (idx = 0; idx < count; idx++) { dest[idx].id_type = start[idx].id_type; switch (dest[idx].id_type) { case CACKEY_ID_TYPE_CAC: memcpy(dest[idx].card.cac.applet, start[idx].card.cac.applet, sizeof(dest[idx].card.cac.applet)); dest[idx].card.cac.file = start[idx].card.cac.file; break; case CACKEY_ID_TYPE_PIV: dest[idx].card.piv.key_id = start[idx].card.piv.key_id; |
︙ | |||
2622 2623 2624 2625 2626 2627 2628 | 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 | - + | } switch (id_type) { case CACKEY_ID_TYPE_PIV: case CACKEY_ID_TYPE_CAC: break; default: |
︙ |