pkcs15init: for MyEID card set tokenInfo flags ...

it's a part of demand of the card driver's maintainer
http://www.opensc-project.org/pipermail/opensc-devel/2011-February/015994.html


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5196 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
vtarasov 2011-02-16 10:46:06 +00:00
parent d953d4ade4
commit ce116f42b6
1 changed files with 2 additions and 0 deletions

View File

@ -177,6 +177,8 @@ myeid_init_card(sc_profile_t *profile,
sc_format_path("3F00", &path);
r = sc_select_file(p15card->card, &path, &file);
p15card->tokeninfo->flags = SC_PKCS15_TOKEN_PRN_GENERATION | SC_PKCS15_TOKEN_EID_COMPLIANT;
if (file)
sc_file_free(file);