diff --git a/src/cryptoki.cxx b/src/cryptoki.cxx index 17c4388..17de833 100644 --- a/src/cryptoki.cxx +++ b/src/cryptoki.cxx @@ -228,11 +228,13 @@ namespace cryptoki { SlotList Library::slotList(bool tokenPresent, std::string name) { CRYPTOLOG("log"); + CRYPTOLOG("looking for card name: ")<check(_init->_fn->C_GetSlotList(tokenPresent?TRUE:FALSE, 0, &count), CRYPTOKI_FN_LOG("C_GetSlotList")); + CRYPTOLOG("found ")< slot matches"); res.push_back(s); + } } } catch (...) { delete[] slots;