dnie: Remove unused assignment leaking local variable through parameters

This commit is contained in:
Jakub Jelen 2020-11-13 17:26:45 +01:00 committed by Frank Morgner
parent af2fb6938c
commit 55a5556949
1 changed files with 0 additions and 1 deletions

View File

@ -2143,7 +2143,6 @@ static int dnie_pin_verify(struct sc_card *card,
res = cwa_create_secure_channel(card, GET_DNIE_PRIV_DATA(card)->cwa_provider, CWA_SM_ON);
LOG_TEST_RET(card->ctx, res, "Establish SM failed");
data->apdu = &apdu; /* prepare apdu struct */
/* compose pin data to be inserted in apdu */
if (data->flags & SC_PIN_CMD_NEED_PADDING)
padding = 1;