use two slots by default
This commit is contained in:
@@ -31,11 +31,9 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
/* pcscd allows at most 16 readers. We will use 10.
|
/* pcscd allows at most 16 readers. Apple's SmartCardServices on OS X 10.10
|
||||||
* See PCSCLITE_MAX_READERS_CONTEXTS in pcsclite.h */
|
* freaks out if more than 8 slots are registered. We want only two slots... */
|
||||||
#define VICC_MAX_SLOTS \
|
#define VICC_MAX_SLOTS (2 <= PCSCLITE_MAX_READERS_CONTEXTS ? 2 : PCSCLITE_MAX_READERS_CONTEXTS)
|
||||||
(PCSCLITE_MAX_READERS_CONTEXTS > 6 ? \
|
|
||||||
PCSCLITE_MAX_READERS_CONTEXTS-6 : 1)
|
|
||||||
const unsigned char vicc_max_slots = VICC_MAX_SLOTS;
|
const unsigned char vicc_max_slots = VICC_MAX_SLOTS;
|
||||||
|
|
||||||
#ifdef HAVE_DEBUGLOG_H
|
#ifdef HAVE_DEBUGLOG_H
|
||||||
|
|||||||
Reference in New Issue
Block a user