- Fix apdu->le in sc_compute_signature()

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@653 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
jey 2002-06-14 12:29:19 +00:00
parent 0694da56e1
commit 523b680f32
1 changed files with 1 additions and 0 deletions

View File

@ -724,6 +724,7 @@ static int iso7816_compute_signature(struct sc_card *card,
0x9A);
apdu.resp = rbuf;
apdu.resplen = sizeof(rbuf); /* FIXME */
apdu.le = 256;
memcpy(sbuf, data, datalen);
apdu.data = sbuf;