Removed the 'crts' field from 'sc_acl_entry' type since:
- its definition is specific to the IAS-ECC card type - its presence can not be assumed since it is read from non-mandatory SE type of an SDO - it is currently not used anywhere in the code
This commit is contained in:
parent
376cc2d910
commit
aca0d08e29
|
@ -555,13 +555,13 @@ const sc_acl_entry_t * sc_file_get_acl_entry(const sc_file_t *file,
|
||||||
{
|
{
|
||||||
sc_acl_entry_t *p;
|
sc_acl_entry_t *p;
|
||||||
static const sc_acl_entry_t e_never = {
|
static const sc_acl_entry_t e_never = {
|
||||||
SC_AC_NEVER, SC_AC_KEY_REF_NONE, {{0, 0, 0, {0}}}, NULL
|
SC_AC_NEVER, SC_AC_KEY_REF_NONE, NULL
|
||||||
};
|
};
|
||||||
static const sc_acl_entry_t e_none = {
|
static const sc_acl_entry_t e_none = {
|
||||||
SC_AC_NONE, SC_AC_KEY_REF_NONE, {{0, 0, 0, {0}}}, NULL
|
SC_AC_NONE, SC_AC_KEY_REF_NONE, NULL
|
||||||
};
|
};
|
||||||
static const sc_acl_entry_t e_unknown = {
|
static const sc_acl_entry_t e_unknown = {
|
||||||
SC_AC_UNKNOWN, SC_AC_KEY_REF_NONE, {{0, 0, 0, {0}}}, NULL
|
SC_AC_UNKNOWN, SC_AC_KEY_REF_NONE, NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
if (file == NULL || operation >= SC_MAX_AC_OPS) {
|
if (file == NULL || operation >= SC_MAX_AC_OPS) {
|
||||||
|
|
|
@ -204,9 +204,6 @@ struct sc_crt {
|
||||||
typedef struct sc_acl_entry {
|
typedef struct sc_acl_entry {
|
||||||
unsigned int method; /* See SC_AC_* */
|
unsigned int method; /* See SC_AC_* */
|
||||||
unsigned int key_ref; /* SC_AC_KEY_REF_NONE or an integer */
|
unsigned int key_ref; /* SC_AC_KEY_REF_NONE or an integer */
|
||||||
|
|
||||||
struct sc_crt crts[SC_MAX_CRTS_IN_SE];
|
|
||||||
|
|
||||||
struct sc_acl_entry *next;
|
struct sc_acl_entry *next;
|
||||||
} sc_acl_entry_t;
|
} sc_acl_entry_t;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue