diff --git a/src/pkcs15init/pkcs15.profile b/src/pkcs15init/pkcs15.profile index bb209612..f70a4475 100644 --- a/src/pkcs15init/pkcs15.profile +++ b/src/pkcs15init/pkcs15.profile @@ -17,7 +17,7 @@ filesystem { type = DF; # This is the DIR file - EF PKCS15-DIR { + EF DIR { type = EF; file-id = 2F00; size = 128; diff --git a/src/pkcs15init/profile.c b/src/pkcs15init/profile.c index 1f7f648d..c61a35b1 100644 --- a/src/pkcs15init/profile.c +++ b/src/pkcs15init/profile.c @@ -536,8 +536,6 @@ new_file(struct state *cur, const char *name, unsigned int type) file = profile->p15_card->file_tokeninfo; } else if (!strcasecmp(name+7, "ODF")) { file = profile->p15_card->file_odf; - } else if (!strcasecmp(name+7, "DIR")) { - file = init_file(SC_FILE_TYPE_WORKING_EF); } else if (!strcasecmp(name+7, "AppDF")) { file = init_file(SC_FILE_TYPE_DF); } else {