Hi,It turnes out that the default build on osx is not very usable on os x when one starts to plug and unplug the card at 'strange' moments. I got a lot of asserts on card_lock>=1, For example when removing the card just when starting a SSL connection, before the pkcs#11 had been initialized, or for example when removing the card before ssl session had ended.
I spent some time trying to understand the issue and looking at the locking code and doing various experiments.
Anyway now i can play in-out with the card while firefox stays open so it seems to be better than before. Nils, Stef - please have a look and comment/adjust.
m.
pkcs11.diff
Description: Binary data
-- Martin Paljak / [EMAIL PROTECTED] martin.paljak.pri.ee / ideelabor.ee +372 515 64 95
_______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel