oops, forgot the select.

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1791 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
aj 2004-06-13 20:04:53 +00:00
parent 209dad0217
commit 4aa731e415

View File

@ -471,6 +471,8 @@ do_assert_pristine(struct sc_card *card)
res = -1;
sc_format_path("5015", &path);
r = sc_select_file(card, &path, NULL);
if (r != SC_ERROR_FILE_NOT_FOUND)
if (r != SC_ERROR_NOT_ALLOWED ||
strcmp(card->name, "StarCOS") != 0)