libopensc: increase maximum number of card drivers

http://www.opensc-project.org/pipermail/opensc-devel/2012-October/018552.html
Default driver is disabled on 0.13 because there are more drivers listed in ctx.c. (leonardo.schenkel@gmail.com)

SC_MAX_CARD_DRIVERS is increases from 32 to 48. It's not the best solution, but the most rapid.
Will be waiting for the better proposals.
This commit is contained in:
Viktor Tarasov 2012-11-04 16:44:34 +01:00
parent e35febed5b
commit 0166321835
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ extern "C" {
typedef unsigned char u8;
/* various maximum values */
#define SC_MAX_CARD_DRIVERS 32
#define SC_MAX_CARD_DRIVERS 48
#define SC_MAX_CARD_DRIVER_SNAME_SIZE 16
#define SC_MAX_CARD_APPS 8
#define SC_MAX_APDU_BUFFER_SIZE 261 /* takes account of: CLA INS P1 P2 Lc [255 byte of data] Le */