On 1/26/09, Ludovic Rousseau <ludovic.rouss...@gmail.com> wrote:
> I patched the OpenSC version of src/ifd/proto-t1.c (patch attached)

Great!
Thanks you!

>  THIS PATCH DOES NOT WORK. It is just a preview.
>
>  Notes:
>  - the t1_* functions use a "ifd_protocol_t * prot" parameter but I
>  need a "t1_state_t * t1" since some fields are only present in the
>  t1_state_t structure
>  - t1_negotiate_ifsd() is declared in src/ifd/internal.h and the only
>  external source using it is src/ifd/ifd-eutron.c. This function is
>  never used elsewhere. This function could be used by the CCID driver
>  if the reader does not negotiate the IFSD itself for example
>  - I changed my version of proto-t1.c in my CCID handler to make
>  comparison more easy
>
>  I can integrate some patches from my CCID driver. But integrating all
>  the error cases management will be very hard without major changes in
>  OpenCT.
>
>  What should I do?

What do you mean "patches from CCID driver"? Other than T1? I only
thought to make the T1 common, so I can compare the CCID
implementation.
Looking ahead, do you think it will be easier to integrate OpenCT CCID
into new framework or your CCID? I think that OpenCT is closer... as
it does not use libusb or daemon.

Thank you!
Alon.
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to