Hello,
FIX: sc_get_rutoken_driver above EMV because the detection gets caught there first.
Patch for trunk revision 3698 is in attachment. Could you please add it?
Thanks

diff -u -r opensc-trunk-r3698/src/libopensc/ctx.c 
new/opensc-trunk-r3698/src/libopensc/ctx.c
--- opensc-trunk-r3698/src/libopensc/ctx.c      2009-06-26 13:30:08.000000000 
+0400
+++ new/opensc-trunk-r3698/src/libopensc/ctx.c  2009-06-26 17:42:22.000000000 
+0400
@@ -73,6 +73,7 @@
        { "belpic",     (void *(*)(void)) sc_get_belpic_driver },
        { "atrust-acos",(void *(*)(void)) sc_get_atrust_acos_driver },
        { "muscle", (void *(*)(void)) sc_get_muscle_driver },   /* Above EMV 
because the detection gets caught there first */
+       { "rutoken",    (void *(*)(void)) sc_get_rutoken_driver }, /* Above EMV 
because the detection gets caught there first */
        { "emv",        (void *(*)(void)) sc_get_emv_driver },
        { "incrypto34", (void *(*)(void)) sc_get_incrypto34_driver },
 #ifdef ENABLE_OPENSSL
@@ -83,7 +84,6 @@
 #ifdef ENABLE_OPENSSL
        { "entersafe",(void *(*)(void)) sc_get_entersafe_driver },
 #endif
-       { "rutoken",    (void *(*)(void)) sc_get_rutoken_driver },
        { "rutoken_ecp",(void *(*)(void)) sc_get_rtecp_driver },
        /* The default driver should be last, as it handles all the
         * unrecognized cards. */
_______________________________________________
opensc-devel mailing list
[email protected]
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to