parent
d628022673
commit
f1bcadfbe9
|
@ -456,7 +456,12 @@ CK_RV C_GetSlotList(CK_BBOOL tokenPresent, /* only slots with token prese
|
|||
|
||||
card_detect_all();
|
||||
|
||||
DEBUG_VSS(NULL, "C_GetSlotList after card_detect_all");
|
||||
if (list_empty(&virtual_slots)) {
|
||||
sc_log(context, "returned 0 slots\n");
|
||||
*pulCount = 0;
|
||||
rv = CKR_OK;
|
||||
goto out;
|
||||
}
|
||||
|
||||
found = calloc(list_size(&virtual_slots), sizeof(CK_SLOT_ID));
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
OPENSC_FEATURES = pcsc
|
||||
|
||||
#Include support for minidriver
|
||||
MINIDRIVER_DEF = /DENABLE_MINIDRIVER
|
||||
#MINIDRIVER_DEF = /DENABLE_MINIDRIVER
|
||||
|
||||
#Build MSI with the Windows Installer XML (WIX) toolkit, requires WIX >= 3.9
|
||||
!IF "$(WIX)" == ""
|
||||
|
@ -33,7 +33,7 @@ WIX_LIBS = "$(WIX)\SDK\$(WIXVSVER)\lib\$(PLATFORM)\dutil.lib" "$(WIX)\SDK\$(WIXV
|
|||
SM_DEF = /DENABLE_SM
|
||||
|
||||
#Build with debugging support
|
||||
#DEBUG_DEF = /DDEBUG
|
||||
DEBUG_DEF = /DDEBUG
|
||||
|
||||
# If you want support for OpenSSL (needed for pkcs15-init tool, software hashing in PKCS#11 library and verification):
|
||||
# - download and build OpenSSL
|
||||
|
|
|
@ -103,6 +103,8 @@
|
|||
#define DEFAULT_ONEPIN_PKCS11_PROVIDER "@DEFAULT_ONEPIN_PKCS11_PROVIDER@"
|
||||
#endif
|
||||
|
||||
#define PKCS11_THREAD_LOCKING
|
||||
|
||||
#ifndef DEFAULT_SM_MODULE
|
||||
#define DEFAULT_SM_MODULE "@DEFAULT_SM_MODULE@"
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue