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:
parent
89dacc6c82
commit
bb2506cff9
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue