coolkey: Remove dead code

Thanks coverity

** CID 362100:  Control flow issues  (DEADCODE)
/src/libopensc/card-coolkey.c: 1755 in coolkey_rsa_op()
This commit is contained in:
Jakub Jelen 2020-09-23 17:08:59 +02:00 committed by Frank Morgner
parent 595926471b
commit b577531720
1 changed files with 0 additions and 5 deletions

View File

@ -1750,11 +1750,6 @@ static int coolkey_rsa_op(sc_card_t *card, const u8 * data, size_t datalen,
u8 len_buf[2];
size_t out_length;
/* Free card response -- nothing useful -- result is in export object */
if (crypt_out_p) {
free(*crypt_out_p);
}
r = coolkey_read_object(card, COOLKEY_DL_OBJECT_ID, 0, len_buf, sizeof(len_buf),
priv->nonce, sizeof(priv->nonce));
if (r < 0) {