On Sep 14, 2010, at 12:01 AM, Peter Koch wrote: > Hi Martin! > > 2010/9/13 Martin Paljak <mar...@paljak.pri.ee> > > 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. assert. I wonder why does not ./configure set -DNDEBUG by default?
-- Martin Paljak @martinpaljak.net +3725156495 _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel