Thanks!
I tried this... Does not seem to work.

Alon.

On 4/25/08, Chaskiel M Grundman <[EMAIL PROTECTED]> wrote:
> > Hello,
>  >
>  > Is there a reason why openct supoprt only ccid-1.00?
>  > Is it difficult to update it to support newer version?
>
>
> openct only supports 1.00 because that was the spec that was available when
>  I originally wrote the code. I have tried to read the 1.10 spec and see
>  what changed, but I haven't been able to figure it out.
>
>  Here's a patch I sent to someone that contacted me directly about ccid-1.10
>  support. It just relaxes the bcdCCID check (and will report proper bcdCCID
>  values in the future)
>
>  Index: ifd-ccid.c
>  ===================================================================
>  --- ifd-ccid.c  (revision 1029)
>  +++ ifd-ccid.c  (working copy)
>  @@ -649,9 +649,9 @@
>                  return -1;
>          }
>
>  -       if (ccid.bcdCCID != 0x100) {
>  +       if (ccid.bcdCCID != 0x100 && ccid.bcdCCID != 0x110) {
>                  ct_error("ccid: unknown ccid version %d.%d", ccid.bcdCCID
>  >> 8,
>  -                        ccid.bcdCCID & 0xf);
>  +                        ccid.bcdCCID & 0xff);
>                  ifd_device_close(dev);
>                  return -1;
>
>          }
>  _______________________________________________
>  opensc-devel mailing list
>  [email protected]
>  http://www.opensc-project.org/mailman/listinfo/opensc-devel
>
_______________________________________________
opensc-devel mailing list
[email protected]
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to