- 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:
parent
0694da56e1
commit
523b680f32
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue