Add reminders to bytes2apdu style code blocks.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5370 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
1932ce861f
commit
8f0ba374f3
|
@ -1321,6 +1321,7 @@ static int do_apdu(int argc, char **argv)
|
|||
}
|
||||
len0 = len;
|
||||
|
||||
/* TODO: move this to apdu.c as bytes2apdu or similar. See #237 */
|
||||
memset(&apdu, 0, sizeof(apdu));
|
||||
p = buf;
|
||||
apdu.cla = *p++;
|
||||
|
|
|
@ -507,6 +507,8 @@ static int send_apdu(void)
|
|||
}
|
||||
len = len0;
|
||||
p = buf;
|
||||
|
||||
/* TODO: move this to apdu.c as bytes2apdu or similar. See #237 */
|
||||
memset(&apdu, 0, sizeof(apdu));
|
||||
apdu.cla = *p++;
|
||||
apdu.ins = *p++;
|
||||
|
|
|
@ -548,6 +548,7 @@ static int send_apdu(void)
|
|||
}
|
||||
len = len0;
|
||||
p = buf;
|
||||
/* TODO: move this to apdu.c as bytes2apdu or similar. See #237 */
|
||||
memset(&apdu, 0, sizeof(apdu));
|
||||
apdu.cla = *p++;
|
||||
apdu.ins = *p++;
|
||||
|
|
Loading…
Reference in New Issue