EstEID: buffer is 2 bytes bigger than max Le.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4720 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
767e5dd6c9
commit
fc5b3e5417
|
@ -706,7 +706,7 @@ do_select(sc_card_t * card, u8 kind,
|
|||
apdu.lc = apdu.datalen;
|
||||
apdu.resp = resbuf;
|
||||
apdu.resplen = sizeof(resbuf);
|
||||
apdu.le = sizeof(resbuf);
|
||||
apdu.le = 256;
|
||||
|
||||
r = sc_transmit_apdu(card, &apdu);
|
||||
SC_TEST_RET(card->ctx, SC_LOG_DEBUG_NORMAL, r, "APDU transmit failed");
|
||||
|
|
Loading…
Reference in New Issue