Return only available tokens

svn path=/trunk/kdesupport/qca/; revision=678336
This commit is contained in:
Alon Bar-Lev 2007-06-21 05:52:30 +00:00
parent d83bb6e0e7
commit f1890bad7a

View File

@ -1773,7 +1773,7 @@ pkcs11KeyStoreListContext::keyStores () {
*/
if (
(rv = pkcs11h_token_enumTokenIds (
PKCS11H_ENUM_METHOD_CACHE,
PKCS11H_ENUM_METHOD_CACHE_EXIST,
&tokens
)) != CKR_OK
) {