Moin, Am Sun, 24 Sep 2006 18:33:35 +0200 schrieb Andreas Jellinghaus:
> we might want to check here if the first two bytes > are the number of the record and the (length -2). > that is a tag/length that isn't needed as far as I know > and needs to be stripped so our internal code works. > but other implementation will maybe not have such an > tl-header before the real content. They do have, by definition. That's what the TLV in SC_FILE_EF_LINEAR_VARIABLE_TLV stands for. The code is not complete (complete handling would also handle all variants of {CYCLIC,LINEAR_{FIXED,VARIABLE}}{,_TLV}) but at least it's correct. -- Henryk Plötz Grüße aus Berlin ~~~~~~~ Un-CDs, nein danke! http://www.heise.de/ct/cd-register/ ~~~~~~~ ~ Help Microsoft fight software piracy: Give Linux to a friend today! ~
pgp5OFkkNeYoH.pgp
Description: PGP signature
_______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel