On Thu, Mar 20, 2008 at 3:31 PM, Alon Bar-Lev <[EMAIL PROTECTED]> wrote:
> Hello,
>
>  
> http://www.opensc-project.org/pipermail/opensc-devel/2007-December/010617.html
>  ------------------------------------------------------------------------
>  r3304 | ludovic.rousseau | 2007-12-17 15:39:20 +0200 (Mon, 17 Dec
>  2007) | 5 lines
>
>  add support of ruToken
>
>  Thanks to Andrew V. Stepanov for the patch
>  
> http://www.opensc-project.org/pipermail/opensc-devel/2007-December/010617.html
>
>
>  The above updated the pkcs11.h file which maintained at different
>  upstream. It is not wise to fork this as we will not be able to sync.
>
>  I found it due to invalid C++ comment :)
>
>  Why is this needed?
>  Can it be placed in vendor specific file?
>  Why don't the new constant has ruToken prefix?

According to http://www.opensc-project.org/opensc/changeset/3304 the
file trunk/src/pkcs11/pkcs11.h was modified to add:

//rutoken:
#define CKK_GOST            (CKK_VENDOR_DEFINED+1)
#define CKA_GOST CKA_VENDOR_DEFINED+1
#define CKM_GOST CKM_VENDOR_DEFINED+1

I also agree this "standard" file should not be modified.

I overlooked the changes when I made the commit. What would be the
correct way to have these defines?

Bye

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

Reply via email to