remove check for label - if you set one with "pkcs15-init -C -l your-label"

this check doesn't work correctly.


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3555 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
aj 2008-08-12 14:48:54 +00:00
parent 56ea99d8a0
commit 5ef6b5ff7d

View File

@ -1200,12 +1200,6 @@ static int test_update(sc_card_t *in_card)
goto end;
}
if (strcmp("OpenSC Card",p15card->label) != 0) {
printf("not initialized by opensc, card is fine.");
rc = 0;
goto end;
}
/* first select file on 5015 and get fci */
sc_format_apdu(in_card, &apdu, SC_APDU_CASE_4_SHORT, 0xa4, 0x08, 0x00);
apdu.lc = sizeof(cmd1);