Steve Jacobs: fix muscle driver.

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3148 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
aj 2007-04-10 19:49:26 +00:00
parent ef7d8ffa86
commit c3fcd9f7dd
1 changed files with 1 additions and 1 deletions

View File

@ -770,7 +770,7 @@ int msc_compute_crypt_final(
memset(outputBuffer, 0, sizeof(outputBuffer));
apdu.resp = outputBuffer;
apdu.resplen = MSC_MAX_READ;
apdu.le = MSC_MAX_READ;
apdu.le = dataLength +2;
ptr = buffer;
*ptr = 0x01; ptr++; /* DATA LOCATION: APDU */
*ptr = (dataLength >> 8) & 0xFF; ptr++;