fix select_file in mcrd. by Martin Paljak
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1968 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
44c55aea82
commit
d1da4005aa
@ -742,7 +742,7 @@ do_select(struct sc_card *card, u8 kind,
|
||||
apdu.datalen = buflen;
|
||||
apdu.lc = apdu.datalen;
|
||||
apdu.resp = resbuf;
|
||||
apdu.resplen = *file ? sizeof(resbuf) : 0;
|
||||
apdu.resplen = file ? sizeof(resbuf) : 0;
|
||||
|
||||
r = sc_transmit_apdu(card, &apdu);
|
||||
SC_TEST_RET(card->ctx, r, "APDU transmit failed");
|
||||
|
Loading…
Reference in New Issue
Block a user