fix egate token with cryptoflex on windows.

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2261 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
aj 2005-03-23 22:44:48 +00:00
parent 7133146d28
commit 769792ea31
1 changed files with 4 additions and 0 deletions

View File

@ -172,6 +172,10 @@ static int flex_init(sc_card_t *card)
_sc_card_add_rsa_alg(card, 2048, flags, 0);
}
/* SCardTransmit failed: 8010002f
* this can be solved with a small delay. */
msleep(100);
/* State that we have an RNG */
card->caps |= SC_CARD_CAP_RNG;