Fix for ticket #400
Specify the path of the Address PIN for IAS-based cards in order to properly read the Citizen Address Data object. Remove the "Citizen Data" object association with the Address PIN, as it incorrectly describes the card layout. http://www.opensc-project.org/opensc/ticket/400. Change-Id: I7ca81d6d15c5e2b137ff3c9a40b7471eb2fad55c
This commit is contained in:
parent
d505a55483
commit
c6fcd68fbc
|
@ -149,7 +149,7 @@ static int sc_pkcs15emu_pteid_init(sc_pkcs15_card_t * p15card)
|
|||
/* PIN Authentication IDs */
|
||||
static const int pteid_pin_authid[3] = {1, 2, 3};
|
||||
/* PIN Paths */
|
||||
static const char *pteid_pin_paths[2][3] = { {NULL, "3f005f00", NULL},
|
||||
static const char *pteid_pin_paths[2][3] = { {NULL, "3f005f00", "3f005f00"},
|
||||
{NULL, NULL, NULL} };
|
||||
struct sc_pkcs15_auth_info pin_info;
|
||||
struct sc_pkcs15_object pin_obj;
|
||||
|
@ -230,7 +230,7 @@ static int sc_pkcs15emu_pteid_init(sc_pkcs15_card_t * p15card)
|
|||
static const char *object_labels[3] = {"Citizen Data",
|
||||
"Citizen Address Data",
|
||||
"Citizen Notepad"};
|
||||
static const char *object_authids[3] = {"3", "3", "1"};
|
||||
static const char *object_authids[3] = {NULL, "3", "1"};
|
||||
static const char *object_paths[3] = {"3f005f00ef02",
|
||||
"3f005f00ef05",
|
||||
"3f005f00ef07"};
|
||||
|
|
Loading…
Reference in New Issue