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:
nils 2006-05-03 07:16:38 +00:00
parent 21c821194b
commit 9e5ed96912
1 changed files with 1 additions and 1 deletions

View File

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