rename "StarCOS" -> "STARCOS SPK 2.3"

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1900 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
nils 2004-09-17 19:13:30 +00:00
parent 2df8086209
commit 5ebccf1842
4 changed files with 5 additions and 5 deletions

View File

@ -105,7 +105,7 @@ static int starcos_init(struct sc_card *card)
return SC_ERROR_OUT_OF_MEMORY;
memset(ex_data, 0, sizeof(starcos_ex_data));
card->name = "StarCOS";
card->name = "STARCOS SPK 2.3";
card->cla = 0x00;
card->drv_data = (void *)ex_data;

View File

@ -127,7 +127,7 @@ int sc_pkcs15emu_starcert_init(sc_pkcs15_card_t *p15card)
struct sc_serial_number serial;
/* check if we have the correct card OS */
if (strcmp(card->name, "StarCOS"))
if (strcmp(card->name, "STARCOS SPK 2.3"))
return SC_ERROR_WRONG_CARD;
/* read EF_Info file */
sc_format_path("3F00FE13", &path);

View File

@ -2602,7 +2602,7 @@ do_select_parent(struct sc_profile *pro, struct sc_card *card,
}
if (!(r = sc_pkcs15init_create_file(pro, card, *parent)))
r = sc_select_file(card, &path, NULL);
} else if (r == SC_SUCCESS && !strcmp(card->name, "StarCOS")) {
} else if (r == SC_SUCCESS && !strcmp(card->name, "STARCOS SPK 2.3")) {
/* in case of starcos spk 2.3 SELECT FILE does not
* give us the ACLs => ask the profile */
sc_file_free(*parent);

View File

@ -468,7 +468,7 @@ do_assert_pristine(struct sc_card *card)
if (r != SC_ERROR_FILE_NOT_FOUND)
if (r != SC_ERROR_NOT_ALLOWED ||
strcmp(card->name, "StarCOS") != 0)
strcmp(card->name, "STARCOS SPK 2.3") != 0)
res = -1;
sc_format_path("5015", &path);
@ -476,7 +476,7 @@ do_assert_pristine(struct sc_card *card)
if (r != SC_ERROR_FILE_NOT_FOUND)
if (r != SC_ERROR_NOT_ALLOWED ||
strcmp(card->name, "StarCOS") != 0)
strcmp(card->name, "STARCOS SPK 2.3") != 0)
res = -1;
card->ctx->suppress_errors--;