Other CSPs have been able to use the OpenSC opensc-pkcs11.dll which uses the standard reader-pcsc.c code. This would imply that they let reader-pcsc.c get its own handles to the card, and don't use the one provided by the caller of the CSP.
So why does cardmod require so many modifications to reader-pcsc.c? The modifications also turn off: detect_card_presents, lock unlock, release, wait_for_event and reset. I would expect some of these to be critical to any CSP or mini-driver? Why does the cardmod reader-pcsc.c need to load the constant winscard.dll, when the normal pcsc code loads the DEFAULT_PCSC_PROVIDER that is defined in the Configure/Makefiles as winscard.dll? -- Douglas E. Engert <deeng...@anl.gov> Argonne National Laboratory 9700 South Cass Avenue Argonne, Illinois 60439 (630) 252-5444 _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel