git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2641 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
nils 2005-10-09 12:00:34 +00:00
parent c7a8e84caf
commit 6eeedc7d5f
1 changed files with 2 additions and 2 deletions

View File

@ -164,8 +164,8 @@ static int sc_transceive(sc_card_t *card, sc_apdu_t *apdu)
switch (apdu->cse) {
case SC_APDU_CASE_1:
if (card->slot->active_protocol == SC_PROTO_T0)
/* TO adds an additional 0x00 byte to the TPDU */
*data++;
/* T0 adds an additional 0x00 byte to the TPDU */
*data++ = 0x00;
break;
case SC_APDU_CASE_2_SHORT:
*data++ = (u8) apdu->le;