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:
s 2010-02-17 17:19:14 +00:00
parent 3d23ea782b
commit 709869785c
1 changed files with 1 additions and 1 deletions

View File

@ -213,7 +213,7 @@ static int rtecp_create_pin(sc_profile_t *profile, sc_card_t *card,
sc_file_free(file);
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);
SC_FUNC_RETURN(card->ctx, 1, r);
}