Nils Larsch wrote:
this is not problem as get_response() can read less, the code in
apdu.c should try to call get_response() until everything is read.

Does the attached patch help ?

yes, thanks.

PS: Perhaps we should put max_recv_size in sc_reader_t as this is
    a property of the reader ...

good idea. but that breaks ABI? (we don't have a definition for internal
vs. external api so people might use structures like that).

shall we file a bug so we don't forget?
maybe keep track somewhere (new wiki page?) of things we want to do once
we break ABI, so we do those all at once? debug cleanup would be one,
maybe reorganize header files for internal/external split, and what else?

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

Reply via email to