fixed determining ef type

This commit is contained in:
Frank Morgner 2015-01-28 07:21:55 +01:00
parent 7fb495ac31
commit 92ad6eb63c
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}