MyEID: fix
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4038 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
709869785c
commit
4395d5b8b3
|
@ -388,7 +388,7 @@ static int myeid_create_file(struct sc_card *card, struct sc_file *file)
|
||||||
SC_FUNC_RETURN(card->ctx, 1, SC_ERROR_FILE_ALREADY_EXISTS);
|
SC_FUNC_RETURN(card->ctx, 1, SC_ERROR_FILE_ALREADY_EXISTS);
|
||||||
|
|
||||||
r = sc_check_sw(card, apdu.sw1, apdu.sw2);
|
r = sc_check_sw(card, apdu.sw1, apdu.sw2);
|
||||||
SC_FUNC_RETURN(card->ctx, r, "Card returned error");
|
SC_FUNC_RETURN(card->ctx, 1, r);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* no record oriented file services */
|
/* no record oriented file services */
|
||||||
|
|
Loading…
Reference in New Issue