Hi! tcos_init() does NOT set card->max_recv_size and therefore some default value (i.e. 256) was used.
With current svn this does not work anymore. sc_read_binary() checks wether count > card->max_recv_size and then tries to read count bytes in chunks of card->max_recv_size. If card->max_recv_size is 0 this fails. Should I set card->max_recv_size and card->max_send_size in tcos_init()? This will fix the problem with TCOS-cards but there are other drivers that do NOT set max_recv_size (i.e. card-cardos.c) Peter
_______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel