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:
martin 2010-09-14 09:27:46 +00:00
parent 767e5dd6c9
commit fc5b3e5417
1 changed files with 1 additions and 1 deletions

View File

@ -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");