Return the real pinref

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2521 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
sth 2005-08-26 19:33:52 +00:00
parent 89dacc6c82
commit bb2506cff9
1 changed files with 1 additions and 1 deletions

View File

@ -817,7 +817,7 @@ static void parse_sec_attr_44(sc_file_t *file, const u8 *buf, size_t len)
/* Pin present ? */
if ( iPinCount > 0 ) {
iKeyRef = (buf[iOffset + 2] & 0x7); /* pin ref */
iKeyRef = buf[iOffset + 2]; /* pin ref */
iMethod = SC_AC_CHV;
}