--On Tuesday, March 20, 2007 08:23:32 AM +0100 Andreas Jellinghaus
<[EMAIL PROTECTED]> wrote:
what about code like this in card-flex.c:
The error did not occur in card specific code. You cannot send a short apdu
with lc == 256 to any card.
sc_update_binary() uses card->max_send_size to cap its lc.
on cryptoflex, card->ops->update_binary is iso7816_update_binary.
that would break some cards again, if I understand the situation
correctly.
What cards? The references to max_send_size are:
Initialization in sc_connect_card
Chunking in sc_write_binary and sc_update_binary
Applying size limits in card-gpk.c card-miocos.c and card-starcos.c
asserts in iso7816_write_binary and iso7816_update_binary
Is there a card that will lose if sc_update_binary breaks things up into
chunks of 255 instead of 256? if so, it doesn't really have "binary" files,
now does it?
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel