OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: [Muscle] pcsc-lite 1.5.5 problem

From: Ludovic Rousseau (ludovic.rousseaugmail.com)
Date: Thu Jan 07 2010 - 09:14:06 CST


2010/1/7 Murat Baran <baran.muratgmail.com>:
> This function is in opensc.h, what do mean by "internal"?

OpenSC goal is to provide a PKCS#11 lib.
sc_detect_card_presence() is not part of this PKCS#11 API.

> We are not using pkcs11 library if you mean that.
> Is it bad to use opensc alone ?

It is not bad. Is it, maybe, overkill to use OpenSC just to detect if
a card is inserted or not.
You could use SCardGetStatusChange() instead.

And it may not be safe to use an (internal) libopensc function in a
multi-thread process.

Bye

--
 Dr. Ludovic Rousseau
_______________________________________________
Muscle mailing list
Musclelists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle