fix: mis-usage of 'type' (PIN encoding style)
Thanks to Viktor TARASOV http://www.opensc-project.org/pipermail/opensc-devel/2010-February/013454.html git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4037 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
3d23ea782b
commit
709869785c
|
@ -213,7 +213,7 @@ static int rtecp_create_pin(sc_profile_t *profile, sc_card_t *card,
|
||||||
sc_file_free(file);
|
sc_file_free(file);
|
||||||
|
|
||||||
if (r == SC_SUCCESS)
|
if (r == SC_SUCCESS)
|
||||||
r = sc_change_reference_data(card, pin_info->type, pin_info->reference,
|
r = sc_change_reference_data(card, SC_AC_CHV, pin_info->reference,
|
||||||
NULL, 0, pin, pin_len, NULL);
|
NULL, 0, pin, pin_len, NULL);
|
||||||
SC_FUNC_RETURN(card->ctx, 1, r);
|
SC_FUNC_RETURN(card->ctx, 1, r);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue