fixed determining ef type
This commit is contained in:
parent
7fb495ac31
commit
92ad6eb63c
|
@ -1746,7 +1746,7 @@ static int dnie_process_fci(struct sc_card *card,
|
|||
case 0x15: /* EF for keys: linear variable simple TLV */
|
||||
file->type = SC_FILE_TYPE_WORKING_EF;
|
||||
/* pin file 3F000000 has also this EF type */
|
||||
if ( ( file->prop_attr[3] == 0x00 ) && (file->prop_attr[3] == 0x00 ) ) {
|
||||
if ( ( file->prop_attr[2] == 0x00 ) && (file->prop_attr[3] == 0x00 ) ) {
|
||||
sc_log(ctx,"Processing pin EF");
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue