Hi Martin!

2010/9/13 Martin Paljak <[email protected]>

> > Should I set card->max_recv_size and card->max_send_size
> > in tcos_init()?
> >
> No. Sorry, this place was erroneously  left untouched and is fixed in SVN
> trunk. Please verify that it works as expected.
>

Not yet! I had to replace line 122 of iso7816.c
> assert(count <= card->max_recv_size);
by
> assert(count <= card->max_recv_size>0 ? card->max_recv_size : 256);

And then everything worked as expected.

Peter
_______________________________________________
opensc-devel mailing list
[email protected]
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to