mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-30 16:17:02 +01:00
scd: Increase the number of supported readers from 4 to 16.
-- The limit on 4 readers I introduced in 2003 is too low for some of our use cases. 16 looks better. TODO: Return a useful error message in gpg-card if the limit has been reached. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
65eb156980
commit
0e721b635d
@ -61,7 +61,8 @@ struct dev_list {
|
||||
int idx_max;
|
||||
};
|
||||
|
||||
#define MAX_READER 4 /* Number of readers we support concurrently. */
|
||||
#define MAX_READER 16 /* Number of readers we support concurrently. */
|
||||
/* See also MAX_DEVICE in ccid-driver.c. */
|
||||
|
||||
|
||||
#if defined(_WIN32) || defined(__CYGWIN__)
|
||||
|
@ -1277,7 +1277,7 @@ ccid_vendor_specific_init (ccid_driver_t handle)
|
||||
}
|
||||
|
||||
|
||||
#define MAX_DEVICE 4 /* See MAX_READER in apdu.c. */
|
||||
#define MAX_DEVICE 16 /* See MAX_READER in apdu.c. */
|
||||
|
||||
struct ccid_dev_table {
|
||||
int n; /* Index to ccid_usb_dev_list */
|
||||
|
Loading…
x
Reference in New Issue
Block a user