- bump max number of apps per card to 8
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1544 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
aae679b28a
commit
c20fcf5e7b
|
@ -122,6 +122,10 @@ static int parse_dir_record(struct sc_card *card, u8 ** buf, size_t *buflen,
|
|||
memcpy(app->path.value, path, path_len);
|
||||
app->path.len = path_len;
|
||||
app->path.type = SC_PATH_TYPE_PATH;
|
||||
} else if (aid_len < sizeof(app->path.value)) {
|
||||
memcpy(app->path.value, aid, aid_len);
|
||||
app->path.len = aid_len;
|
||||
app->path.type = SC_PATH_TYPE_DF_NAME;
|
||||
} else
|
||||
app->path.len = 0;
|
||||
if (asn1_dirrecord[3].flags & SC_ASN1_PRESENT) {
|
||||
|
|
|
@ -112,7 +112,7 @@ extern "C" {
|
|||
#define SC_MAX_CARD_DRIVER_SNAME_SIZE 16
|
||||
#define SC_MAX_READERS 16
|
||||
#define SC_MAX_SLOTS 4
|
||||
#define SC_MAX_CARD_APPS 4
|
||||
#define SC_MAX_CARD_APPS 8
|
||||
#define SC_MAX_APDU_BUFFER_SIZE 258
|
||||
#define SC_MAX_PIN_SIZE 16
|
||||
#define SC_MAX_ATR_SIZE 33
|
||||
|
|
Loading…
Reference in New Issue