workaround for broken cashmouse driver
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2156 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
864825651e
commit
10569f110e
|
@ -187,7 +187,13 @@ static int sc_transceive(struct sc_card *card, struct sc_apdu *apdu)
|
|||
break;
|
||||
}
|
||||
sendsize = data - sbuf;
|
||||
#if 0
|
||||
recvsize = apdu->resplen + 2; /* space for the SW's */
|
||||
#else
|
||||
/* workaround for a broken cashmouse driver, should be harmless
|
||||
* for other drivers -- Nils */
|
||||
recvsize = sizeof(rbuf);
|
||||
#endif
|
||||
if (card->ctx->debug >= 5) {
|
||||
char buf[2048];
|
||||
|
||||
|
|
Loading…
Reference in New Issue