use correct ef attribute in switch statement; thanks to Chaskiel M Grundman <cg2v@andrew.cmu.edu>
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2937 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
21c821194b
commit
9e5ed96912
|
@ -639,7 +639,7 @@ static int starcos_process_acl(sc_card_t *card, sc_file_t *file,
|
|||
*p++ = tmp; /* SM byte */
|
||||
*p++ = 0x00; /* use the least significant 5 bits
|
||||
* of the FID as SID */
|
||||
switch (file->type)
|
||||
switch (file->ef_structure)
|
||||
{
|
||||
case SC_FILE_EF_TRANSPARENT:
|
||||
*p++ = 0x81;
|
||||
|
|
Loading…
Reference in New Issue