Remove dead code
card-setcos.c:506:3: warning: Value stored to 'bKeyNumber' is never read bKeyNumber = 0; ^ ~ git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5162 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
a4e314e453
commit
451121f9b5
|
@ -503,7 +503,6 @@ static int setcos_create_file_44(sc_card_t *card, sc_file_t *file)
|
|||
}
|
||||
/* RSA signing/decryption requires AC adaptive coding, can't be put
|
||||
in AC simple coding. Only implemented for pins, not for a key. */
|
||||
bKeyNumber = 0;
|
||||
if ( (file->type == SC_FILE_TYPE_INTERNAL_EF) &&
|
||||
(acl_to_byte_44(file->acl[SC_AC_OP_CRYPTO], &bNumber) == SC_AC_CHV) ) {
|
||||
bBuf[len++] = 0x83;
|
||||
|
|
Loading…
Reference in New Issue