PIN unblock error. Internal pin reference procedure updated.

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3198 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
vtarasov 2007-07-03 15:33:28 +00:00
parent be022c16d3
commit 4fcabecf9f
1 changed files with 2 additions and 1 deletions

View File

@ -1625,7 +1625,8 @@ static int auth_get_pin_reference (sc_card_t *card,
*out_ref = reference;
if (reference == 1 || reference == 2)
*out_ref |= 0x80;
if (cmd == SC_PIN_CMD_VERIFY)
*out_ref |= 0x80;
break;
default: