Fix 253 third fix for same problem. The first fix

r4761 added a test in the wrong place. Second fix
r4804 added the test in the correct place. This fix
removes one of the tests added by r4761


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4806 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
dengert 2010-10-14 14:59:51 +00:00
parent 0f2a44b33e
commit f194c873d0
1 changed files with 1 additions and 5 deletions

View File

@ -473,11 +473,7 @@ static int do_single_transmit(sc_card_t *card, sc_apdu_t *apdu)
/* 0x6100 means at least 256 more bytes to read */
le = apdu->sw2 != 0 ? (size_t)apdu->sw2 : 256;
/* we try to read at least as much as bytes as
* promised in the response bytes, but not more then
* then requested. So now T=0 responds the same as T=1
*/
if (buflen < le)
le = buflen;
* promised in the response bytes */
minlen = le;
do {