fixed Le for get challenge

This commit is contained in:
Frank Morgner
2012-10-04 14:06:47 +02:00
parent af9b2bf07d
commit 80091a6997

View File

@@ -1526,6 +1526,7 @@ static int npa_get_challenge(struct sm_ctx *npactx, sc_card_t *card,
apdu.ins = 0x84;
apdu.cse = SC_APDU_CASE_2_SHORT;
apdu.le = len;
apdu.resplen = len;
apdu.resp = challenge;