card-westcos.c: fixed dead code
This commit is contained in:
parent
a34d1f7dcd
commit
a649d66b02
|
@ -1108,11 +1108,8 @@ static int westcos_sign_decipher(int mode, sc_card_t *card,
|
|||
BIO *mem = BIO_new(BIO_s_mem());
|
||||
#endif
|
||||
|
||||
if (card == NULL) {
|
||||
if (keyfile)
|
||||
sc_file_free(keyfile);
|
||||
if (card == NULL)
|
||||
return SC_ERROR_INVALID_ARGUMENTS;
|
||||
}
|
||||
sc_debug(card->ctx, SC_LOG_DEBUG_NORMAL,
|
||||
"westcos_sign_decipher outlen=%d\n", outlen);
|
||||
|
||||
|
|
Loading…
Reference in New Issue