correct tries_left entries

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1904 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
nils 2004-09-19 19:50:52 +00:00
parent 3f5dc67981
commit 31c1c53d13
3 changed files with 3 additions and 3 deletions

View File

@ -241,7 +241,7 @@ sc_pkcs15emu_infocamere_init(sc_pkcs15_card_t *p15card)
sc_pkcs15emu_add_pin(p15card, &id,
nonrepPIN, &path, 0x99,
SC_PKCS15_PIN_TYPE_ASCII_NUMERIC,
5, 8, flags, 3, 0,
5, 8, flags, -1, 0,
SC_PKCS15_CO_FLAG_MODIFIABLE | SC_PKCS15_CO_FLAG_PRIVATE);

View File

@ -119,7 +119,7 @@ sc_pkcs15emu_netkey_init(sc_pkcs15_card_t *p15card) {
p15card, &id, pinlist[i].label, &path, pinlist[i].pinref,
SC_PKCS15_PIN_TYPE_ASCII_NUMERIC, 6, 16,
SC_PKCS15_PIN_FLAG_CASE_SENSITIVE | SC_PKCS15_PIN_FLAG_INITIALIZED,
3, 0,
-1, 0,
SC_PKCS15_CO_FLAG_MODIFIABLE | SC_PKCS15_CO_FLAG_PRIVATE
);
}

View File

@ -61,7 +61,7 @@ typedef struct pdata_st {
const pindata pins[] = {
{ "99", "DS pin", "3F00DF01", 0x99, SC_PKCS15_PIN_TYPE_ASCII_NUMERIC,
8, 8, SC_PKCS15_PIN_FLAG_NEEDS_PADDING | SC_PKCS15_PIN_FLAG_LOCAL,
3, 0x00,
-1, 0x00,
SC_PKCS15_CO_FLAG_MODIFIABLE | SC_PKCS15_CO_FLAG_PRIVATE },
{ NULL, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0}
};