diff --git a/src/cryptoki.cxx b/src/cryptoki.cxx index 01ad8c0..fd2b8a9 100644 --- a/src/cryptoki.cxx +++ b/src/cryptoki.cxx @@ -200,7 +200,7 @@ namespace cryptoki { } @endcode */ - SlotList Init::slotList(bool tokenPresent) { + SlotList Init::slotList(bool tokenPresent, std::string name) { CRYPTOKI_LOG("log"); SlotList res; CK_ULONG count(0); @@ -217,7 +217,11 @@ namespace cryptoki { } while (_res==CKR_BUFFER_TOO_SMALL); check(_res, CRYPTOKI_FN_LOG("C_GetSlotList")); if (!*this) return res; - for (CK_ULONG i(0); i