On 21/11/05, 谷野健一 <[EMAIL PROTECTED]> wrote: > Hi. Hello,
> I report that IC card reader "SCR 3310 > NTTCOM"(http://www.ntt.com/jpki/ japanese only) worked by CCID driver > and Windows PCSC Driver. Cool. I add it to the list "Should work but untested by me:". If you (or NTTCOM or SCM) send me a reader I can test it and move it to the "Supported CCID readers" list. > 2.About the READERNAME length of pcsclite.h > > I discovered the defect of pcsclite. > > Token name : JPKI CERT > Slot name : SCM Microsystems Inc. SCR33x USB Smart Card Reader 0 > Token id : 3BE000FF8131FE4514 > Token state : 10422 > Token type : 0004 token known > > I am developing MuscleCard Driver. It is called JPKICERT. > The above-mentioned display MuscleCard Driver was created and it was > made to output by MuscleTools. > > #define MAX_READERNAME 52 > > changed to > > #define MAX_READERNAME 255 > > The length of "SCN Microsystems Inc.SCR33 x USB Smart Card Reader 0" > is 53 characters. Since there was "no 0", it did not work. The bug is in libmusclecard. MAX_READERNAME should not be used outside internal pcsc-lite code. libmusclecard should use a locally defined MAX_SLOTNAME or equivalent. The slot name is truncated but what exactly does not work? How can I reproduce the bug? Thanks, -- Dr. Ludovic Rousseau For private mail use [EMAIL PROTECTED] and not "big brother" Google _______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
