- the AC CHANGE condition of the PIN objects we created referenced the
PUK, rather than the PIN. This caused the standard sc_change_reference_data operation to fail. git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@810 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
4419574608
commit
604e9cd318
|
@ -190,7 +190,7 @@ etoken_store_pin(struct sc_profile *profile, struct sc_card *card,
|
|||
/* AC conditions */
|
||||
tlv_next(&tlv, 0x86);
|
||||
tlv_add(&tlv, 0x00); /* use: always */
|
||||
tlv_add(&tlv, puk_id); /* change: PUK */
|
||||
tlv_add(&tlv, pin_id); /* change: PIN */
|
||||
tlv_add(&tlv, puk_id); /* unblock: PUK */
|
||||
|
||||
/* data: PIN */
|
||||
|
|
Loading…
Reference in New Issue