On 4/16/08, Aktiv Co. Aleksey Samsonov <[EMAIL PROTECTED]> wrote:
>  Alon Bar-Lev:
>  > Please also explain why the pkcs15-prkey-rutoken.c is needed, there is
>  > not prkey specific file for any other card.
>
>  This file is necessary to avoid redoubling of code.

I don't understand why the emulation layer cannot provide this as
standard pkcs15 elements.
And why rutoken is the only one which has this kind of stuff.

>  Alon Bar-Lev:
>  > Also at libopensc.exports you can see that only rutoken has card
>  > specific exports, this should also be modified.
>
>  Patch opensc-0.11.4.trunk-r3476_rutoken-0.3.2_2.diff (for
> opensc-0.11.4.trunk-r3476-0.11.4.trunk-r3476_rutoken-0.3.2.diff)
> is
>  draft. This patch solves the problem with exported functions. (Instead of
> pkcs15-prkey-rutoken.c it'll be rutoken-prkey.h). If this solution is better
> than previous one, but it's inappropriate to use line '#include
> "../libopensc/rutoken-prkey.h"' in the file
> src/pkcs15init/pkcs15-rutoken.c, then I can fully split the
> file rutoken-prkey.h.

Having code in include file is worse.
Please try to convert the rutoken specific stuff into pkcs15 data structures.

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

Reply via email to