MyEID: fix 'Activate Applet' apdu case
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4040 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
d89e6377a0
commit
9c45262f5e
|
@ -938,7 +938,7 @@ static int myeid_activate_card(struct sc_card *card)
|
||||||
sc_apdu_t apdu;
|
sc_apdu_t apdu;
|
||||||
|
|
||||||
SC_FUNC_CALLED(card->ctx, 1);
|
SC_FUNC_CALLED(card->ctx, 1);
|
||||||
sc_format_apdu(card, &apdu, SC_APDU_CASE_1, 0x44, 0x04, 0x00);
|
sc_format_apdu(card, &apdu, SC_APDU_CASE_3_SHORT, 0x44, 0x04, 0x00);
|
||||||
apdu.cla = 0x00;
|
apdu.cla = 0x00;
|
||||||
apdu.data = sbuf;
|
apdu.data = sbuf;
|
||||||
apdu.datalen = 0x0C;
|
apdu.datalen = 0x0C;
|
||||||
|
|
Loading…
Reference in New Issue