opensc-explorer::do_apdu() number of bytes in printed message 'Sending'

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3849 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
viktor.tarasov 2009-11-14 21:55:17 +00:00
parent 2005bc2e92
commit a8dc5bdeef
1 changed files with 1 additions and 1 deletions

View File

@ -1272,12 +1272,12 @@ static int do_apdu(int argc, char **argv)
}
len = strlen(argv[0]);
len0 = len;
sc_hex_to_bin(argv[0], buf, &len);
if (len < 4) {
puts("APDU too short (must be at least 4 bytes)");
return 1;
}
len0 = len;
memset(&apdu, 0, sizeof(apdu));
p = buf;