+       /* need to limit to 248 */
+       if (card->max_send_size > 248)
+               card->max_send_size = 248;
+       if (card->max_recv_size > 248)
+               card->max_recv_size = 248;
+
+

can we put something like this in the generic code for
all cards and drivers? or in the openct specific code?

for example with cryptoflex card, openct, ccid driver (in openct)
some readers work, some won't as soon as I use 2048 bit keys.
with 1024 bit rsa they are all fine.

any suggeston where to place some code like this?
I would then re-test aöl readers I have access to
and see if it helps.

Thanks, Andreas
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to