let user configure the number of slots

This commit is contained in:
Frank Morgner
2015-05-18 07:14:19 +02:00
parent f3dc6db045
commit 2ef0e7828c
2 changed files with 13 additions and 2 deletions

View File

@@ -33,7 +33,7 @@
/* pcscd allows at most 16 readers. Apple's SmartCardServices on OS X 10.10
* freaks out if more than 8 slots are registered. We want only two slots... */
#define VICC_MAX_SLOTS (2 <= PCSCLITE_MAX_READERS_CONTEXTS ? 2 : PCSCLITE_MAX_READERS_CONTEXTS)
#define VICC_MAX_SLOTS (VPCDSLOTS <= PCSCLITE_MAX_READERS_CONTEXTS ? VPCDSLOTS : PCSCLITE_MAX_READERS_CONTEXTS)
const unsigned char vicc_max_slots = VICC_MAX_SLOTS;
#ifdef HAVE_DEBUGLOG_H